17 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
7
votes
2
answers
7k
views
Podspec - Exclude all but a subfolder
I have a structure like this
target_files/
├──target1/
├──target2/
└──target3/
And I want to include only "target2" for example and exclude the other targets. How I write the spec.exclude_files?
I ...
1
vote
1
answer
254
views
Watch and compile coffeescript in multiple folders and vendor javascript files in specific order, also organize sass and html templates
I have a directory structure like this:
+ src
|
| - modules
| |
| | - auth
| | |
| | | - auth.coffee
| | | - auth.sass
| | | - login.html
| | | - logout.html
...
0
votes
2
answers
259
views
Cakefile not requiring *.coffee files
I have the following files:
Cakefile:
require './test'
test.coffee:
console.log 'hi'
another_test.coffee:
require './test'
If I run cake, I get the following exception:
module.js:340
throw ...
0
votes
1
answer
125
views
Cakefile build task error
I am trying to build the code given as TODO example in spine framework. I have installed coffescript using npm, and cake builder is included to it.
When I navigate to Cakefile dir, and execute cake ...
2
votes
1
answer
262
views
call another task from a task
How can I call another task from a task in Cakefile ?
I tried tasks[taskName].action options but didn't work because tasks in not bound in the scope of my Cakefile:
/home/omer/___/Cakefile:52
...
-1
votes
1
answer
721
views
fs undefined in cakefile
I'm trying to build a simple cakefile to perform build tasks for a node project I'm working on. Following this gist from github, I've managed to throw the following basic code together:
CoffeeScript ...
1
vote
1
answer
351
views
how do I tell cake where to look for coffee?
Setting up the express coffee app that twilson63 built. It seems that cake can't find coffee, but they both are ok with which. Is there something else I need to do here? Here's my steps:
jcollum@...
0
votes
1
answer
932
views
How to compile coffeescript to the parent directory of the source?
I just got into the world of caffeine and I'm having a bit of trouble with Cakefiles.
It is my understanding that Cakefiles use the coffee script syntax; if I want to look for a file in child ...
0
votes
1
answer
345
views
Cakefile - how to --watch handlebars dir the same as coffeescript dir
When I --watch a directory containing coffeescript files, everything is caught- new files, immediate changes, but when I watch a handlebars directory it doesn't watch it. Am I right in thinking --...
1
vote
2
answers
1k
views
compile and join coffeescript files
I have the following structure:
/lib
/ myfile.js.cofee
/ secondfile.js
/src
and i would like to compile them into
/lib
/ myfile.js.cofee
/ secondfile.js
/src
/ awesomefile.min.js
I have ...
2
votes
1
answer
3k
views
Jake vs Cake for a Node.js application? [closed]
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 ...
0
votes
1
answer
119
views
Cakefile not seeing JS functions
I'm writing a Cakefile that defines a task called build where the following line appears:
coffee.stderr.on 'data', (data) ->
process.stderr.write.data.toString()
When I run the task with cake ...
0
votes
1
answer
298
views
Changing directory in a CakeFile task
I tried to change the directory using a normal cd command, but it says execvp(): No such file or directory.
These are the lines:
fs = require 'fs'
util = require 'util'
{spawn} = require '...
3
votes
1
answer
4k
views
Gzipping a File Using Zlib in NodeJS
I'm trying to write a simple Cakefile build script for a small javascript library. I'd like to gzip a source string and write the result to a file. Here's what I have so far:
zlib.deflate ...
0
votes
1
answer
259
views
Calling methods from task in Cakefile
I'm setting up a Cakefile that will compile and minify my CoffeeScript and minify my Vanilla libs.
I created different tasks for each case (whether it was a coffee file or not) but I want to combine ...