-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Description
If I have this code:
desc('Setup Piggybank for the first time');
task('setup', function () {
// ...
});
desc('Runs the app and watches files for changes and rebuilds when there\'s updates');
task('app', function () {
// ...
});
namespace('app', function () {
task('start', ['app']);
});
// TODO: Add these deployments
desc('Deploys the site to staging or prod. **WIP**');
namespace('deploy', function () {
task('staging', function () {
// ...
});
task('prod', function () {
// ...
});
});
I get:
jake setup # Setup Piggybank for the first time
jake app # Runs the app and watches files for changes and rebuilds when there's updates
jake deploy:staging # Deploys the site to staging or prod. **WIP**
But I'd expect:
jake setup # Setup Piggybank for the first time
jake app # Runs the app and watches files for changes and rebuilds when there's updates
jake app:start # Runs the app and watches files for changes and rebuilds when there's updates
jake deploy:prod # Deploys the site to staging or prod. **WIP**
jake deploy:staging # Deploys the site to staging or prod. **WIP**
Metadata
Metadata
Assignees
Labels
No labels