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

Unified Diff: polymer_1.0.4/bower_components/ga-api-utils/Makefile

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 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: polymer_1.0.4/bower_components/ga-api-utils/Makefile
diff --git a/polymer_1.0.4/bower_components/ga-api-utils/Makefile b/polymer_1.0.4/bower_components/ga-api-utils/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..d1e18daa75f25d828fca665d6acbeaa2ebcd1730
--- /dev/null
+++ b/polymer_1.0.4/bower_components/ga-api-utils/Makefile
@@ -0,0 +1,22 @@
+bin_path := ./node_modules/.bin
+
+all: build
+
+install:
+ @ npm install
+
+lint:
+ @ $(bin_path)/jshint --show-non-errors lib test
+
+test:
+ @ $(bin_path)/mocha --reporter spec --recursive test
+
+test_debug:
+ @ $(bin_path)/mocha --debug-brk --reporter spec --recursive test
+
+build: install lint test
+ @ $(bin_path)/browserify lib \
+ -s gaApiUtils \
+ | $(bin_path)/uglifyjs -o build/ga-api-utils.js
+
+.PHONY: all install lint test test_debug build
« no previous file with comments | « polymer_1.0.4/bower_components/ga-api-utils/LICENSE ('k') | polymer_1.0.4/bower_components/ga-api-utils/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698