Created
November 3, 2015 20:37
-
-
Save nuxlli/b1256d37b2da0c283541 to your computer and use it in GitHub Desktop.
"bins" example in Azkfile
This file contains hidden or 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
aliases({ | |
bundle : { command: ["bundle", "exec"]}, // system: azkdemo (default) | |
scaffold : { alias: "bundle", append: ["rails", "g", "scaffold"]}, | |
test : { alias: "bundle", append: ["rake", "test"], tty: true, context: 'test'}, | |
'import-db': { system: "mysql", command: ["mysql"], depends: false} | |
}); | |
// azk script generator --path ./script | |
// ./script/bundle | |
// ./script/scaffold | |
// azk shell [system] | |
// azk exec test | |
// azk exec scaffold -- post title:string body:text | |
// azk exec test -C dev -T | |
// azk exec -- bundle | |
// scaffold post title:string body:text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment