2015-05-10 14:38:17 +00:00
|
|
|
default: pack
|
|
|
|
|
|
|
|
compile_coffee:
|
|
|
|
coffee -c frontend/assets/application.coffee
|
|
|
|
|
|
|
|
debug: compile_coffee
|
|
|
|
go-bindata --debug frontend/...
|
|
|
|
go run *.go serve
|
|
|
|
open http://127.0.0.1:3000/
|
|
|
|
|
|
|
|
pack: compile_coffee
|
|
|
|
go-bindata frontend/...
|
2017-09-22 13:30:14 +00:00
|
|
|
|
|
|
|
publish:
|
|
|
|
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
|
|
|
bash golang.sh
|
2017-09-22 14:22:05 +00:00
|
|
|
|
|
|
|
workflow:
|
2017-09-22 15:38:08 +00:00
|
|
|
mkdir -p dist
|
|
|
|
cp -r password_darwin_amd64 \
|
|
|
|
alfred-workflow/exec.py \
|
|
|
|
alfred-workflow/icon.png \
|
|
|
|
alfred-workflow/info.plist \
|
|
|
|
alfred-workflow/lib/workflow \
|
|
|
|
dist
|
|
|
|
echo -n $(shell git describe --tags --exact-match) > dist/version
|
|
|
|
cd dist && zip -r -9 ../PasswordGenerator.alfredworkflow *
|
2017-09-22 14:22:05 +00:00
|
|
|
github-release upload --user luzifer --repo password --tag $(shell git describe --tags --exact-match) --name PasswordGenerator.alfredworkflow --file PasswordGenerator.alfredworkflow
|