26 lines
481 B
Makefile
26 lines
481 B
Makefile
DNSNAME = $(shell hostname -f)
|
|
|
|
# check if DNSNAME is a FQDN
|
|
|
|
all:
|
|
# '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
|
|
|
|
push:
|
|
git pull
|
|
git add --all
|
|
-git commit -a -s
|
|
git push
|
|
|
|
# should update every go dependancy (?)
|
|
update:
|
|
git pull
|
|
go get -v -t -u ./...
|
|
|
|
init:
|
|
git add --all
|
|
-git commit -a -s
|
|
git remote add origin git@git.wit.com:jcarr/dnssec-socket.git
|
|
git push -u origin master
|