Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 838709f810
Fetching contributors…

Cannot retrieve contributors at this time

57 lines (43 sloc) 1.549 kb
SOCIALCALC_FILES=\
socialcalcconstants.js \
socialcalc-3.js \
socialcalctableeditor.js \
formatnumber2.js \
formula1.js \
socialcalcpopup.js \
socialcalcspreadsheetcontrol.js \
socialcalcviewer.js
ETHERCALC_FILES=\
$(SOCIALCALC_FILES) \
third-party/class-js/lib/Class.js \
third-party/wikiwyg/lib/Document/Emitter.js \
third-party/wikiwyg/lib/Document/Emitter/HTML.js \
third-party/wikiwyg/lib/Document/Parser.js \
third-party/wikiwyg/lib/Document/Parser/Wikitext.js \
static/jquery.js
JS_FILES=\
app.js dotcloud.js player.js main.js sc.js db.js
all :: SocialCalcModule.js
env PATH="$$PATH:./node_modules/LiveScript/bin" livescript -c -o . src
node app.js
vm :: SocialCalcModule.js
env PATH="$$PATH:./node_modules/LiveScript/bin" livescript -c -o . src
node app.js --vm
./node_modules/streamline/bin/_node :
npm i --dev
depends :: app.js static/ethercalc.js static/start.css
SocialCalcModule.js :: $(SOCIALCALC_FILES) exports.js
cat $(SOCIALCALC_FILES) exports.js > $@
#@perl -e 'system(join(" ", "closure-compiler" => map { ("--js", $$_) } @ARGV). " > $@")' $(SOCIALCALC_FILES) exports.js
static/ethercalc.js :: $(ETHERCALC_FILES)
@echo "// Auto-generated from "make depends"; all changes here will be lost." > $@
@perl -e 'system(join(" ", "closure-compiler" => "--language_in=ES5" => map { ("--js", $$_) } @ARGV). " >> $@")' $(ETHERCALC_FILES)
.coffee.js:
coffee -c $<
.sass.css:
sass -t compressed $< > $@
clean ::
@-rm $(JS_FILES)
push ::
dotcloud push ethercalc
.SUFFIXES: .js .coffee .css .sass .ls
Jump to Line
Something went wrong with that request. Please try again.