summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2015-11-16 15:12:12 +0100
committerMatěj Cepl <mcepl@cepl.eu>2015-11-16 17:04:39 +0100
commitec301ed3cda4bd3a2976b78385cebdbd0b37883c (patch)
treed780f05c8982802cbd7189c69766b49985507f8f /Makefile
parent8d8c0a86d5cf80e5e9a86947fe450d742f038b13 (diff)
downloadzalmy-ec301ed3cda4bd3a2976b78385cebdbd0b37883c.tar.gz
Upgrade to Babel 6 (and include module config into repo).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d3c11dc..b4df068 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+BABEL=node node_modules/babel-cli/bin/babel.js
FILES=zalmy.js zalmy.js.map style index*.html zalmy.appcache zalmy.webapp \
require.js config.js config.js.map activePage.js activePage.js.map \
favicon.ico
@@ -5,7 +6,7 @@ FILES=zalmy.js zalmy.js.map style index*.html zalmy.appcache zalmy.webapp \
all: config.js activePage.js zalmy.js
%.js: %.es
- babel --source-maps true -t ES5 -m amdStrict -o $@ $<
+ $(BABEL) --source-maps true -o $@ $<
install: $(FILES)
rsync -avz --delete $(FILES) ~/Dokumenty/website/hubmaier/zalmy.ceplovi.cz/