Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create Cakefile to do build and test tasks #23

Open
yyfearth opened this issue Feb 25, 2012 · 8 comments
Open

create Cakefile to do build and test tasks #23

yyfearth opened this issue Feb 25, 2012 · 8 comments
Assignees
Labels

Comments

@yyfearth
Copy link
Owner

Create a Cakafile including build and test tasks:

@ghost ghost assigned masonwan Feb 25, 2012
@masonwan
Copy link
Collaborator

Under Windows 7, the correct way to call external program to copy a directory is:

{exec} = require 'child_process'
exec 'robocopy source target /e', -> console.log 'okay'

masonwan added a commit that referenced this issue Feb 28, 2012
Note that stylus and coffeekup don't work now.
@masonwan
Copy link
Collaborator

@yyfearth Minifying current client.coffee takes around 5 seconds on my machine. I let it check whether the file exists or not. If yes, then ignore.

@masonwan
Copy link
Collaborator

@yyfearth I couldn't successfully compile client.styl to css. It reported:

Object
...
 has no method 'replace'
    at Object.Lexer
...

Please test it on your machine.

@yyfearth
Copy link
Owner Author

@masonaxcte stylus to css not html
u can take look at my app.coffee, it compile stylus on the fly.

@masonwan
Copy link
Collaborator

@yyfearth I used the wrong word. I failed to compile client.styl to client.css. Could you test it for me?

@viruschidai
Copy link

@masonwan You need to pass a string instead of a buffer to stylus().

@viruschidai
Copy link

Oops, commented on a really old PR

@yyfearth
Copy link
Owner Author

@viruschidai thanks anyway, I often to make this mistake that use fs.read without an encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants