mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 16:42:58 +00:00
Fixed: The new script for the ojtest tool must be in the dist/cappuccino/bin directory
This commit is contained in:
1 parent
0518d479d3
commit
52bd654850
1 file changed
+13
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
ObjectiveJ = require("@objj/runtime");
|
||||
//CAPPUCCINO = require("@objj/cappuccino");
|
||||
|
||||
var ojtest = require("@objj/ojtest");
|
||||
|
||||
// Inject path to the OJTest main Objective-J file into the arguments so it is the file to be executed.
|
||||
var args = process.argv.slice(); // Copy
|
||||
args.splice(1, 1, ojtest.pathToOJTest);
|
||||
|
||||
// Compile, load and run it
|
||||
ObjectiveJ.run(args);
|
||||
Reference in new issue
Block a user