diff options
author | Alexander Early <alexander.early@gmail.com> | 2015-06-27 21:24:03 -0700 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2015-06-27 21:24:03 -0700 |
commit | 3b75568997f8b6e229dddb545d456aefd3e2d33d (patch) | |
tree | 6814d6ce2c10f0296b0684ba593186051af5fdc3 | |
parent | abc0639990af8dc213a7d87f3c71451796b342b7 (diff) | |
parent | bd9e6da4d2263976c23d62c402d1111051a381c2 (diff) | |
download | async-3b75568997f8b6e229dddb545d456aefd3e2d33d.tar.gz |
Merge pull request #805 from megawac/building
Setup make publish script
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | package.json | 3 |
3 files changed, 11 insertions, 1 deletions
@@ -3,3 +3,4 @@ dist perf/versions nyc_output coverage +*.log @@ -3,6 +3,7 @@ CWD := $(shell pwd) NODEUNIT = "$(CWD)/node_modules/.bin/nodeunit" UGLIFY = "$(CWD)/node_modules/.bin/uglifyjs" JSHINT = "$(CWD)/node_modules/.bin/jshint" +XYZ = node_modules/.bin/xyz --repo git@github.com:caolan/async.git BUILDDIR = dist @@ -22,3 +23,10 @@ lint: $(JSHINT) lib/*.js test/*.js 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 dist + @$(XYZ) --increment $(@:release-%=%) diff --git a/package.json b/package.json index f6018ba..fb4b581 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "nodeunit": ">0.0.0", "nyc": "^2.1.0", "uglify-js": "~2.4.0", + "xyz": "^0.5.0", "yargs": "~3.9.1" }, "jam": { @@ -59,4 +60,4 @@ "tests" ] } -}
\ No newline at end of file +} |