summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-03-19 14:15:38 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-03-19 18:09:13 -0400
commit60fd3a9845987713e9f0971e2eabfe847c68ff57 (patch)
tree4646dcac132b5348eba302fa4d13f5159960875f /Makefile
parente83d7d8f474ed93bf11e7f595056f7f6c0a6e923 (diff)
Use requirejs to load JS modules; use yarn to get requirejs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b16d2ed..f723132 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
-srcs = $(shell find public-src -not -type d)
+srcs = $(shell find public-src -name 3rd-party -prune -o -not -type d -not -name '*.log' -print)
outs = $(patsubst public-src/%,public/%,\
$(patsubst %.scss,%.css,\
$(patsubst %.gen,%,\
$(srcs))))
all: $(outs)
+all: public/3rd-party
.PHONY: all
NET-%:
@@ -56,6 +57,11 @@ public-src/jarmon-depenencies: jarmon/docs/examples/assets/js/dependencies.js
jarmon/docs/examples/assets/js/dependencies.js: FORCE
$(MAKE) -C jarmon docs/examples/assets/js/dependencies.js
+public-src/3rd-party/yarn.LICENSES.txt: bin/yarn-bower public-src/3rd-party/package.json $(wildcard public-src/3rd-party/yarn.lock)
+ bin/yarn-bower install
+ bin/yarn-bower licenses generate-disclaimer > $@
+public/3rd-party: public-src/3rd-party/yarn.LICENSES.txt
+
jquery-ver=1.6.3
flot-ver=0.8.3
jsrrd-ver=1.1.1