Skip to content

Commit

Permalink
Added test config for flybytes
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Sep 20, 2024
1 parent 6aee41c commit b1b555c
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/org/rascalmpl/core/library/lang/rascalcore/check/Checker.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,26 @@ public RascalCompilerConfig getTypePalCompilerConfig(PathConfig pcfg){
return rascalCompilerConfig(pcfg)[verbose = true][forceCompilationTopModule = false][logWrittenFiles=true];
}

public RascalCompilerConfig getTypePalCompilerConfig(){
return rascalCompilerConfig(getTypePalProjectPathConfig());
public PathConfig getFlyBytesProjectPathConfig() {
git = |file:///Users/paulklint/git/|;
return pathConfig(
srcs = [ git + "flybytes/src" ],
bin = git + "generated-sources/target/classes",
generatedSources = git + "generated-sources/target/generated-sources/src/main/java/",
generatedTestSources = git + "generated-sources/target/generated-sources/src/main/java/",
resources = git + "generated-sources/target/generated-resources/src/main/java/",
libs = [ |jar+file:///Users/paulklint/.m2/repository/org/rascalmpl/rascal/0.40.8-SNAPSHOT/rascal-0.40.8-SNAPSHOT.jar!/|,
|jar+file:///Users/paulklint/.m2/repository/org/rascalmpl/typepal/0.13.5-SNAPSHOT/typepal-0.13.5-SNAPSHOT.jar!/|
]
);
}

public RascalCompilerConfig getFlyBytesCompilerConfig(PathConfig pcfg){
return rascalCompilerConfig(pcfg)[verbose = true][forceCompilationTopModule = false][logWrittenFiles=true];
}

public RascalCompilerConfig getFlyBytesCompilerConfig(){
return rascalCompilerConfig(getFlyBytesProjectPathConfig());
}


Expand Down

0 comments on commit b1b555c

Please sign in to comment.