Skip to content

Commit

Permalink
Remove obsolete "publish" target from my Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
einars committed Jul 2, 2012
1 parent e61a60f commit ec46241
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions Makefile
@@ -1,7 +1,6 @@

define AVAILABLE_ACTIONS

publish: publish jsbeautifier to github.com and sync
test: test both implementations, js and python
testp: test python implementation
testj: test javascript implementation
Expand All @@ -10,30 +9,11 @@ endef
export AVAILABLE_ACTIONS


define SCRIPT_PUBLISH

open spic
cd jsbeautifier.org
mirror -Rv attic
mirror -Rv jquery
mirror -Rv tests
mirror -Rv unpackers
mirror -Rv python
put beautify-css.js beautify-html.js beautify.js index.html license.txt README.md

endef
export SCRIPT_PUBLISH


.SILENT:

all:
echo "$$AVAILABLE_ACTIONS"

publish:
git push
lftp -c "$$SCRIPT_PUBLISH"

testp:
cd python ;\
echo Testing python3 ;\
Expand Down Expand Up @@ -68,4 +48,4 @@ gh:
git merge master &&\
git push origin gh-pages

.PHONY: testp testj all publish edit tests test
.PHONY: testp testj all edit tests test

0 comments on commit ec46241

Please sign in to comment.