mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-12-26 15:42:27 -05:00
12 lines
345 B
Makefile
12 lines
345 B
Makefile
JS_SOURCES = $(wildcard js/*.js) $(wildcard js/*/*.js)
|
|
|
|
all: static/bundle.js static/react-widgets
|
|
|
|
static/bundle.js: $(JS_SOURCES)
|
|
browserify -t [ babelify --presets [ react ] ] js/main.js -o static/bundle.js
|
|
|
|
static/react-widgets: node_modules/react-widgets/dist
|
|
rsync -a node_modules/react-widgets/dist/ static/react-widgets/
|
|
|
|
.PHONY = all
|