Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 440 Bytes
export LINE_CHANNEL_SECRET=012345678901234567890123456789ab
export LINE_CHANNEL_ACCESS_TOKEN=u012345678901234567890123456789ab
ifdef RUN
RUNFUNC := -run $(RUN)
endif
version:
echo package main > version.go
echo const version = \"$(shell git describe --tags)\" >> version.go
test: version
go test -v -covermode=count -coverprofile=coverage.out $(RUNFUNC)
deploy: version
gcloud app deploy --project kali-reminder-bot-2 --version 1