summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-03-19 18:49:15 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-03-19 18:49:15 -0400
commit205c0c169a8a0a1a90522234fadd297a97a735bd (patch)
treef3815e0451e02bc1c56bf271d708344b95544b01 /Makefile
parentcf5ff07514854b8bcd49715b3bcac87e65899a9f (diff)
Use yarn for all deps except for jQuery
NPM has broken jQuery for <1.11; but jquerytools requires jQuery <1.9
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index f71d600..6985fac 100644
--- a/Makefile
+++ b/Makefile
@@ -62,23 +62,13 @@ public-src/3rd-party/yarn.LICENSES.txt: bin/yarn-bower public-src/3rd-party/pack
bin/yarn-bower install
bin/yarn-bower licenses generate-disclaimer > $@
public/3rd-party: public-src/3rd-party/yarn.LICENSES.txt
+public-src/jarmon-style/%.gif: public-src/3rd-party/yarn.LICENSES.txt
+ @test -f $@
jquery-ver=1.6.3
-jsrrd-ver=1.1.1
-jquerytools-ver=8ac4636a01d3860f1c4726ba722190a531bf1068
jarmon-dependencies: public-src/jarmon-dependencies/jquery-$(jquery-ver).js
-jarmon-dependencies: public-src/jarmon-dependencies/javascriptrrd-$(jsrrd-ver)/rrdFile.js
-jarmon-dependencies: public-src/jarmon-dependencies/javascriptrrd-$(jsrrd-ver)/binaryXHR.js
-jarmon-dependencies: public-src/jarmon-dependencies/jquerytools-$(jquerytools-ver)/tabs.js
-jarmon-dependencies: public-src/jarmon-dependencies/jquerytools-$(jquerytools-ver)/toolbox.history.js
public-src/jarmon-dependencies/jquery-%.js:
@mkdir -p '$(@D)'
wget -O $@ 'http://code.jquery.com/jquery-$*.js'
-public-src/jarmon-dependencies/javascriptrrd-$(jsrrd-ver)/%:
- @mkdir -p '$(@D)'
- wget -O $@ 'https://git.lukeshu.com/2git/javascriptrrd/plain/src/lib/$*?id=v$(jsrrd-ver)'
-public-src/jarmon-dependencies/jquerytools-$(jquerytools-ver)/%:
- @mkdir -p '$(@D)'
- wget -O $@ 'https://raw.githubusercontent.com/jquerytools/jquerytools/$(jquerytools-ver)/src/$(firstword $(subst ., ,$*))/$*'