From acc715101df44e5bf393803f373224ca709a9d8b Mon Sep 17 00:00:00 2001 From: cloudhead Date: Thu, 8 Jul 2010 00:55:20 +0200 Subject: [PATCH] (dist) new dist commands to Makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index ec3b16a..1627744 100644 --- a/Makefile +++ b/Makefile @@ -41,4 +41,17 @@ min: less @@java -jar build/compiler.jar\ --js ${DIST} >> ${DIST_MIN} +clean: + git rm dist/* + +dist: clean min + git add dist/* + git commit -a -m "(dist) build ${VERSION}" + git archive master --prefix=less/ -o less-${VERSION}.tar.gz + npm publish less-${VERSION}.tar.gz + +stable: + npm tag less ${VERSION} stable + + .PHONY: test benchmark