Jake is a JavaScript build program for Node.js, with capabilities similar to GNU Make or Ruby's Rake. If you've ever built projects with Rake, you'll be very at home using Jake.
Questions tagged [jake]
41 questions
22
votes
3 answers
Grunt (node) - How to show available tasks?
While beeing used to using Rakefile, Cakefile and Jakefile, they all had some convenient way of listing the available tasks.
Like
jake -T
jake db:dump # Dump the database
jake db:load # Populate the database
..etc.
or even…

borestad
- 221
- 2
- 3
6
votes
1 answer
How do you compile CoffeeScript in a Jakefile?
I would like to create a Jakefile which compiles some CoffeeScripts to install a NodeJS application.
How do you do that?
I tried with:
https://gist.github.com/1241827
but it's a weak approach, definitely not classy.
Any hints?

odino
- 1,069
- 11
- 27
5
votes
2 answers
Node.js and Jake - How to call system commands synchronously within a task?
A Jake task executes a long-running system command. Another task depends on the first task being completely finished before starting. The 'exec' function of 'child_process' executes system commands asynchronously, making it possible to for the…

Rich Apodaca
- 28,316
- 16
- 103
- 129
3
votes
1 answer
Jake async tasks don't terminated after calling complete()
I have this jake task to run all my tests:
desc('Run all tests')
task('test', {async: true}, function(args) {
process.env.NODE_ENV = 'test';
var Mocha = require('mocha');
var fs = require('fs'), path = require('path');
var mocha = new…

Zebra Propulsion Lab
- 1,736
- 1
- 17
- 28
3
votes
2 answers
How to run jake on crontab for node js project?
I want to execute a jake task on crontab for my node js project. I learned to create and run jake in node js. And i also learned to work with crontab. If i add the following to create cronjob, the jake task didn't gave the right result.
* * * * *…

Prabhu
- 840
- 11
- 28
3
votes
1 answer
How can I run and stop IISExpress from jake
I'm able to kick off IIS express to run my mvc 3 app with the following coffeescript line:
iisex = jake.createExec(['iisexpress /path:' + process.cwd() + ' /port:9090 /systray:false'], {printStdout: true})
#listening code here
iisex.run()
I then…

Austin Fatheree
- 842
- 1
- 7
- 18
2
votes
1 answer
How to solve "customFds not yet supported" Error
I installed geddy.js. After installation i created and app with geddy using command:
geddy app myapp
cd myapp
But when i tried geddy inside myapp i am getting following error with log details as:
Error: customFds not yet supported
at…

Dar Hamid
- 1,949
- 4
- 21
- 27
2
votes
1 answer
how to pass parameter to jake task like that namespace:task parameter?
I would like to have generators for my migration like:
jake migration:create
jake migration:remove
jake migration:execute
code is
namespace('migration', function(){
desc('Create migration file');
task('create', [],…

il ragazzo
- 61
- 1
- 7
2
votes
2 answers
Jake on Node.js?
From what I have understood Jake (Rake equivalent for Javascript) is based on Rhino.
Does this mean that I cannot use it with Node.js?

never_had_a_name
- 90,630
- 105
- 267
- 383
2
votes
0 answers
Jake exec not displaying exec output on windows
I have a simple command which im running in Jake, and it keeps failing however it doesn't tell me what the failure reason is.
The command is the typescript compiler so the command looks like so:
tsc app.ts
Then the actual jake command looks…

Grofit
- 17,693
- 24
- 96
- 176
2
votes
1 answer
nodeJS jake file Hello World Program Not working
I have a simple hello world jake file, which gives an error:
victors-macbook-pro:votefor Victor$ jake -f jakefile asynchronous
(in /Users/Victor/Documents/workspace/votefor/votefor)
Error on line 1 of file [unknown]
ReferenceError: Can't find…

alcedo
- 1,632
- 2
- 12
- 14
2
votes
0 answers
Elfinder minifying issue
A have a little problem with minifying elFinder. I was followed official guide:
https://github.com/Studio-42/elFinder/wiki/Build-and-compress-elfinder-from-source
But I'm stuck here:
martin@BlackJack:~/elFinder>jake -C ./build elfinder --trace
jake…

Martin Strouhal
- 1,174
- 1
- 12
- 23
2
votes
1 answer
Jake vs Cake for a Node.js application?
I've done some basic googling and haven't found any compelling reasons to choose Jake over Cake for my Node.js build process (mostly just compiling *.coffee to *.js in the correct folders). Can anyone provide a few quick bullet points of why one…

techie.brandon
- 1,638
- 2
- 18
- 27
2
votes
2 answers
sudo: no tty present and no askpass program specified
I tried jake together with launch a little but when I want to deploy my node.js app I get this during the process:
$ ssh mydomain.com sudo stop site.WebApp-production && sudo start site.WebApp-production
sudo: no tty present and no askpass program…

optikfluffel
- 2,538
- 4
- 20
- 27
1
vote
0 answers
Error generating EJS API documentation
I have downloaded EJS master branch from https://github.com/mde/ejs and proceed to generate full public & private API docs throught the next indication:
This project uses JSDoc. For the full public API documentation, clone
the repository and run…

ipueyo
- 51
- 2