(dist) new dist commands to Makefile
This commit is contained in:
parent
9d83cb865d
commit
acc715101d
13
Makefile
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user