Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented and documented command line interface
- Loading branch information
Showing
3 changed files
with
53 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env node | ||
/** | ||
* Buildify | ||
* | ||
* Builder for creating distributable JavaScript files from source. | ||
* Concatenate, wrap, uglify. | ||
* | ||
* Usage: | ||
* buildify [tasks] | ||
* | ||
* The application will execute the script named `buildify.js` in the current | ||
* directory. | ||
* | ||
* The option tasks is an optional list with task names to be executed. | ||
* If no tasks are provided, buildify will run the script including all tasks. | ||
*/ | ||
|
||
// read build script from current directory | ||
require(process.cwd() + '/buildify.js'); |
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