Skip to content

Commit fbef65f

Browse files
committed
added compiled version for front end
1 parent 090206c commit fbef65f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Cakefile

-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@ task 'build', 'build the node module', (cb) ->
66
console.log "Building"
77
files = fs.readdirSync 'src'
88
files = ('src/' + file for file in files when file.match(/\.coffee$/))
9-
# clear lib folder
109
clearLibJs ->
11-
# build lib folder
1210
runCoffee ['-c', '-o', 'lib/'].concat(files), ->
13-
# stitch to one JS for browser use
1411
stitchIt ->
15-
# make available for nodeJS
1612
runCoffee ['-c', 'index.coffee'], ->
1713
console.log "Done building."
1814
cb() if typeof cb is 'function'

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "affine",
33
"description": "A library for basic 2D affine transformations",
4-
"version": "0.0.2",
4+
"version": "0.0.3",
55
"directories": {
66
"lib": "./lib"
77
},
@@ -13,7 +13,8 @@
1313
},
1414
"devDependencies": {
1515
"coffee-script": "*",
16-
"stitch": "*"
16+
"stitch": "*",
17+
"iced-coffee-script": "*"
1718
},
1819
"licenses": [
1920
{

0 commit comments

Comments
 (0)