Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3086)

Unified Diff: appengine/config_service/ui/bower_components/async/Makefile

Issue 2923973003: Added base template for config ui. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/config_service/ui/bower_components/async/Makefile
diff --git a/appengine/config_service/ui/bower_components/async/Makefile b/appengine/config_service/ui/bower_components/async/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..87279f40cb1d46789fe53f58bb1e5b9db772b79f
--- /dev/null
+++ b/appengine/config_service/ui/bower_components/async/Makefile
@@ -0,0 +1,37 @@
+export PATH := ./node_modules/.bin/:$(PATH):./bin/
+
+PACKAGE = asyncjs
+XYZ = node_modules/.bin/xyz --repo git@github.com:caolan/async.git
+
+BUILDDIR = dist
+SRC = lib/async.js
+
+all: lint test clean build
+
+build: $(wildcard lib/*.js)
+ mkdir -p $(BUILDDIR)
+ cp $(SRC) $(BUILDDIR)/async.js
+ uglifyjs $(BUILDDIR)/async.js -mc \
+ --source-map $(BUILDDIR)/async.min.map \
+ -o $(BUILDDIR)/async.min.js
+
+test:
+ nodeunit test
+
+clean:
+ rm -rf $(BUILDDIR)
+
+lint:
+ jshint $(SRC) test/*.js mocha_test/* perf/*.js
+ jscs $(SRC) test/*.js mocha_test/* perf/*.js
+
+.PHONY: test lint build all clean
+
+
+.PHONY: release-major release-minor release-patch
+release-major release-minor release-patch: all
+ ./support/sync-package-managers.js
+ git add --force *.json
+ git add --force $(BUILDDIR)
+ git commit -am "update minified build"; true
+ $(XYZ) --increment $(@:release-%=%)

Powered by Google App Engine
This is Rietveld 408576698