Anton Shestakov <av6@dwimlabs.net>, Sun, 05 Nov 2017 17:21:08 +0800
pipelines: give it 1 minute
Makefile
Permissions: -rw-r--r--
coffeefiles := $(wildcard coffee/*.coffee
) jsfiles := $(coffeefiles:coffee/%.coffee
=js/%.js
) mapfiles := $(jsfiles:.js
=.js.map
) npm := npm update
&& sed -i -e
's@^\#!/usr/bin/env node$$@&js@' ./node_modules/coffee-script/bin/coffee
node_modules/.bin/coffee: js/%.js js/%.js.map: coffee/%.
coffee node_modules/.
bin/
coffee ./node_modules/.bin/coffee -o ./js/ -cm $<
build: $(jsfiles) $(mapfiles)