Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.

adamveld12/jsake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSaké

wercker status

Circle CI

Yet another javascript build tool YAJSBT

Because I needed an excuse to write some javascript.

How to build

Setup

  1. npm install
  2. Run tests with npm test

Hit the ground running

Install it globally

npm install -g jsake

get some help

jsake --help # -h

Register some tasks like so:

// if no name is defined, the function is registered as 'default'
task(function(){
	this.log("echo hello world");
}).describe("Prints hello world to the console.");

// tasks can take arguments
task("add", function(a, b){
	this.log(a + b);
}).describe("Takes two numbers and adds them");

// register a task with the name 'ls'
task("ls", function(){
	// shell commands are ran synchronously
	this.sh("ls");
}).describe("Prints the files in the current working directory.");

execute a task:

jsake add 1 2

Contributing changes

Please feel free to open issues and pull requests. Everyone's code is welcome with open arms.

License

MIT license, feel free to do any horrible or fantastic thing you want with this code

About

🍶 [WIP] Yet another javascript build tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published