Created
September 6, 2021 19:12
-
-
Save CallMeZhou/ca50fbe4d9107955552d7f1d7092af9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile the source code | |
var compile_rules = require("bldz/std/exp/rules/compile").cobol().rules; | |
// bind the object files | |
var bind_rules = require("bldz/std/exp/rules/binder").bind({ | |
deps: compile_rules, | |
outs: ["hey-cobol"], | |
syslibs: ["//CEE.SCEELKED"] | |
}).rules; | |
// run the test | |
genrule_usscmd({ | |
name: "run", | |
deps: bind_rules, | |
exec: "$RULE_DEPS_OUTS", | |
dummy: Date.now() | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment