cloud-control-panel/Makefile

38 lines
715 B
Makefile

run:
go build
./cloud-control-panel
nogui:
go build
./cloud-control-panel -nogui
gaper:
# 'gaper' is a simple and smart golang tool that just rebuilds every time you change a file
# go get -u github.com/maxcnunes/gaper
gaper
#### NEVER DO THIS. THIS APPEARS TO INDUCE INSTABILITY IN GTK
bad-run:
#### NEVER DO THIS. THIS APPEARS TO INDUCE INSTABILITY IN GTK
# go run *.go
# simple sortcut to push all git changes
push:
git pull
git add --all
-git commit -a -s
git push --all
git push --tags
# should update every go dependancy (?)
update:
git pull
go get -v -t -u ./...
# make the json config file human readable
json-readable:
cat /tmp/cloud-control-panel.json |jq -r --tab
diff:
git diff