File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ apps := Hangouts.app Trello.app Digg.app Vine.app
1313# apps := $(addsuffix .app, $(basename $(wildcard sites/*)))
1414# apps := $(patsubst %, %.app, $(basename $(wildcard sites/*)))
1515debug ?=
16- debug += -D APP2JSLOG -D SAFARIDBG -D WK2LOG
16+ # debug += -D APP2JSLOG -D SAFARIDBG -D WK2LOG
1717# ^ need to make sure !release target
1818
19- VERSION := 1.0 .0
19+ VERSION := 1.1 .0
2020LAST_TAG != git describe --abbrev=0 --tags
2121USER := kfix
2222REPO := MacPin
@@ -90,7 +90,7 @@ install: $(apps)
9090clean :
9191 -rm $(exec ) * .o * .d * .zip
9292 -cd modules && rm * .o * .a * .swiftmodule * .swiftdoc
93- -cd appdir && rm -rf * .app
93+ -cd $( appdir ) && rm -rf * .app
9494
9595uninstall :
9696 defaults delete $(exec ) || true
118118
119119$(ZIP ) : tag
120120 rm $(ZIP ) || true
121- zip -r $@ apps/ * .app --exclude .DS_Store/
121+ cd $( appdir ) ; zip -no-wild -r ../ $@ $( apps ) --exclude .DS_Store
122122
123- release : $(ZIP )
123+ release : clean $( apps ) $(ZIP )
124124 git push -f --tags
125125 posturl=$$(curl --data $(GH_RELEASE_JSON ) "https://api.github.com/repos/$(USER ) /$(REPO ) /releases?access_token=$(GITHUB_ACCESS_TOKEN ) " | jq -r .upload_url | sed 's/[\{\}]//g' ) && \
126126 dload=$$(curl --fail -X POST -H "Content-Type: application/gzip" --data-binary "@$(ZIP ) " "$$posturl=$(ZIP ) &access_token=$(GITHUB_ACCESS_TOKEN ) " | jq -r .browser_download_url | sed 's/[\{\}]//g' ) && \
You can’t perform that action at this time.
0 commit comments