Skip to content

Commit

Permalink
Build binary in bin/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetik committed Nov 12, 2013
1 parent e416561 commit 1c2e271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ javascripts = {
]
}

task 'build', 'Build applications discribred in javascripts var', ->
task 'build', 'Build applications described in javascripts var', ->
try
fs.mkdirSync 'bin'
catch err
Expand All @@ -28,7 +28,7 @@ task 'build', 'Build applications discribred in javascripts var', ->
compileAndDelete javascript

compileAndDelete = (javascript) ->
exec 'coffee --output . --compile bin/' + javascript + '.coffee ', (err, stdout, stderr) ->
exec 'coffee --output bin/ --compile bin/' + javascript + '.coffee ', (err, stdout, stderr) ->
console.log stdout + stderr
throw err if err
fs.unlink 'bin/' + javascript + '.coffee', (err) ->
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webid",
"version": "0.0.4",
"version": "0.1.0",
"description": "WebID module",
"homepage": "https://github.com/magnetik/node-webid",
"keywords": [
Expand Down Expand Up @@ -49,5 +49,5 @@
"postinstall": "cake build",
"postupdate": "cake build"
},
"main": "./webid"
"main": "./win/webid"
}

0 comments on commit 1c2e271

Please sign in to comment.