generator-tribble

0.4.3 • Public • Published

generator-tribble

NPM version Build Status Dependency Status Coverage Status

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-tribble

Usage

Then generate your new project:

mkdir mynewproject
cd mynewproject
yo tribble

You 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 to npm version patch e.g.

Running 'cake version patch'

What Tribble does

This generator creates:

  • Creates empty src and lib folders
  • 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 .gitignore file
    • Performs an initial commit (uses generator-git-init)
    • Create initial git tag (0.1.0)

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

Package Sidebar

Install

npm i generator-tribble

Weekly Downloads

1

Version

0.4.3

License

MIT

Last publish

Collaborators

  • frozenskys