diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2015-11-16 15:12:12 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2015-11-16 17:04:39 +0100 |
commit | ec301ed3cda4bd3a2976b78385cebdbd0b37883c (patch) | |
tree | d780f05c8982802cbd7189c69766b49985507f8f /Makefile | |
parent | 8d8c0a86d5cf80e5e9a86947fe450d742f038b13 (diff) | |
download | zalmy-ec301ed3cda4bd3a2976b78385cebdbd0b37883c.tar.gz |
Upgrade to Babel 6 (and include module config into repo).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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/ |