1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-06-20 12:29:32 +00:00

Include cc65 .cfg files when copying regression tests

This commit is contained in:
Andy McFadden 2019-08-02 12:54:26 -07:00
parent 1219755e85
commit ea92edd9d1

View File

@ -201,7 +201,9 @@ namespace MakeDist {
}
break;
case SourceFileSpec.AsmSources:
if (!fileName.ToUpperInvariant().EndsWith(".S")) {
// Need the sources and the ca65 config files.
if (!(fileName.ToUpperInvariant().EndsWith(".S") ||
!fileName.ToUpperInvariant().EndsWith("_cc65.cfg"))) {
continue;
}
break;
@ -210,7 +212,7 @@ namespace MakeDist {
if (matches.Count != 1) {
continue;
}
// Could probably do this with regex... but why.
// Skip project files. Could probably do this with regex... but why.
if (fileName.StartsWith("1") && fileName.EndsWith(".dis65")) {
continue;
}