summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile8
-rw-r--r--package.json3
3 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 82b59ef..9134974 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ dist
perf/versions
nyc_output
coverage
+*.log
diff --git a/Makefile b/Makefile
index 4356239..7299d1d 100644
--- a/Makefile
+++ b/Makefile
@@ -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
+}