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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 export PATH := ./node_modules/.bin/:$(PATH):./bin/
2
3 PACKAGE = asyncjs
4 XYZ = node_modules/.bin/xyz --repo git@github.com:caolan/async.git
5
6 BUILDDIR = dist
7 SRC = lib/async.js
8
9 all: lint test clean build
10
11 build: $(wildcard lib/*.js)
12 mkdir -p $(BUILDDIR)
13 cp $(SRC) $(BUILDDIR)/async.js
14 uglifyjs $(BUILDDIR)/async.js -mc \
15 --source-map $(BUILDDIR)/async.min.map \
16 -o $(BUILDDIR)/async.min.js
17
18 test:
19 nodeunit test
20
21 clean:
22 rm -rf $(BUILDDIR)
23
24 lint:
25 jshint $(SRC) test/*.js mocha_test/* perf/*.js
26 jscs $(SRC) test/*.js mocha_test/* perf/*.js
27
28 .PHONY: test lint build all clean
29
30
31 .PHONY: release-major release-minor release-patch
32 release-major release-minor release-patch: all
33 ./support/sync-package-managers.js
34 git add --force *.json
35 git add --force $(BUILDDIR)
36 git commit -am "update minified build"; true
37 $(XYZ) --increment $(@:release-%=%)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698