generator-tribble
v0.4.3
Published
Scaffolds an application with an enhanced version of cake build.
Downloads
32
Maintainers
Readme
generator-tribble
Scaffolds an application with an enhanced version of cake build.
Installation
First, install Yeoman and generator-tribble using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-tribbleUsage
Then generate your new project:
mkdir mynewproject
cd mynewproject
yo tribbleYou can now use the following commands from the command line.
cake- run the default target (same as ./build.ps1)cake build- run the "Build" Task (same as ./build.ps1 -target build)cake test- run the "Test" Task (same as ./build.ps1 -target test)cake package- run the "Package" task (you get the picture by now...)cake version major/minor/patch- run the "Version" task which increments the GitVersion tag major/minor/patch value similar tonpm version patche.g.

What Tribble does
This generator creates:
- Creates empty
srcandlibfolders - Optional cake build files (uses
generator-cake>=0.2.3)- Add common arguments and variables to build.cake
- Adds some default tasks to build.cake
- Adds a cake.cmd file (see usage)
- Optional license file (uses
generator-license) - Optional Initialise git repository (uses
generator-git-init)- Creates a base
.gitignorefile - Performs an initial commit (uses
generator-git-init) - Create initial git tag (
0.1.0)
- Creates a base
Still in development:
- Option to connect local repo to remote repo already created in TFS, github, etc.
- Option to create remote repo in TFS, github, etc.
- Optinally create a .vscode folder adding the cake commands as tasks.
License
MIT © Richard Cooper
