diff options
-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 +} |