(dist) new dist commands to Makefile

This commit is contained in:
cloudhead 2010-07-08 00:55:20 +02:00
parent 9d83cb865d
commit acc715101d

View File

@ -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