Skip to content

Commit 2a07374

Browse files
committed
Add .coffee compilation to the build process
1 parent 04f88fd commit 2a07374

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.1.0",
44
"dependencies": {},
55
"devDependencies": {
6+
"coffeescript": "^1.12.6",
67
"colors": "^1.1.2",
78
"requirejs": "^2.3.3"
89
},

tools/build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
./node_modules/coffeescript/bin/coffee -c src/js/**/*.coffee
4+
5+
node tools/make-bundle.js
File renamed without changes.

tools/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
node tools/build.js
2+
./build.sh
33
mkdir -p tmp
44
cp out/furnace.js tmp/furnace.js
55
cp src/js/sampleSpec_1.js tmp/sampleSpec_1.js

0 commit comments

Comments
 (0)