Add cc65 artifacts to repo for now
Some checks failed
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 38s

This commit is contained in:
2026-04-12 14:39:50 -05:00
parent 9a1d5b04a4
commit 5c25059ae3
95 changed files with 10919 additions and 10 deletions

View File

@@ -42,17 +42,18 @@ fn main() {
let file = file.expect("test");
let file_name = file.file_name();
let file_name = file_name.to_str().unwrap();
if let Some(file_name) = file_name.strip_suffix(".asm") {
run(
format_args!("asm6f {file_name}"),
Command::new("./asm6f")
.arg(file.file_name())
.arg(format!("{name}/{file_name}.nes")),
);
} else if let Some(file_name) = file_name.strip_suffix(".s") {
// if let Some(file_name) = file_name.strip_suffix(".asm") {
// run(
// format_args!("asm6f {file_name}"),
// Command::new("./asm6f")
// .arg(file.file_name())
// .arg(format!("{name}/{file_name}.nes")),
// );
// } else
if let Some(file_name) = file_name.strip_suffix(".s") {
run(
format_args!("ca65 {file_name}"),
Command::new("/home/matthew/cc65/bin/ca65")
Command::new("../../cc65/bin/ca65")
.arg("-I")
.arg("common")
.arg("-o")
@@ -61,7 +62,7 @@ fn main() {
);
run(
format_args!("ld65 {file_name}"),
Command::new("/home/matthew/cc65/bin/ld65")
Command::new("../../cc65/bin/ld65")
.arg("-C")
.arg("nes.cfg")
.arg("-o")