-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flow; add
flow compile
step which runs hooks, haxe but doesn't run …
…the build steps (i.e haxe compile only)
- Loading branch information
Showing
9 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
var cmds = require('../') | ||
|
||
|
||
exports.run = function run(flow, data) { | ||
|
||
//this is so build can use this to check if | ||
//it should execute launch as well | ||
flow.action = 'compile'; | ||
|
||
flow.execute(flow, cmds['build']); | ||
|
||
} //run | ||
|
||
exports.verify = function verify(flow, done) { | ||
done(null,null); | ||
} | ||
|
||
exports.error = function(flow, err) { | ||
flow.log(1, 'run / error %s', err); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
`flow compile [target] --options` | ||
|
||
[target] is implied as your current system if not specified. | ||
|
||
`flow compile` will execute a `build` command but stop after compiling the haxe output. | ||
`--options` includes all options from the listed commands. | ||
|
||
for full info, `flow usage` and more specifically | ||
`flow usage build` | ||
|
||
examples | ||
|
||
`flow compile` | ||
build, and run the current system as the target | ||
|
||
`flow compile --clean` | ||
compile against a clean bin/ path |
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
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
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
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
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