Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bastos/jakob
Jakob is an experiment! A Rake like software for Node.js
https://github.com/bastos/jakob
Last synced: about 1 month ago
JSON representation
Jakob is an experiment! A Rake like software for Node.js
- Host: GitHub
- URL: https://github.com/bastos/jakob
- Owner: bastos
- Created: 2009-12-13T04:29:13.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2009-12-15T03:39:53.000Z (about 15 years ago)
- Last Synced: 2023-04-11T19:34:13.543Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 82 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Jakob a Make/Rake for Node.js
=============================How to use:
Create a file Jakobfile.js and add tasks like this:
task('test', function(options) {
sys.puts("It Works");
return true;
});Example:
$ jakob simple
>> It WorksNamespaces:
namespace('test', function(test) {
test.task('simplewithnamespace', function(options) {
sys.puts("hey");
return true;
});test.namespace('namespace2', function(test) {
test.task('simplewithnamespace2', function(options) {
sys.puts("ho");
return true;
});
});});
So type on your terminal:$ jakob test:namespace2:simplewithnamespace2
>> hoDependencies:
jakob.task('runfirst', function(options) {
sys.puts("FIRST")
});jakob.task('second', function(options) {
sys.puts("SECOND")
}, { depends : ["runfirst"] })Default task:
jakob.task('default', function(options) {
sys.puts("nice")
});And run it:
$ jakob
>> niceSee more examples on test/test.js
TODO:
* Lots of things. This is just a experiment right now. Is really nice play with Node.
How to Install?
By now just do something like this:
export NODE_PATH=~/jakob/lib:$NODE_PATH
export PATH=~/jakob/bin:$PATH