rename daemon file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-09-22 01:27:47 -07:00
parent 2c5f901b08
commit ceb6d16dcf
3 changed files with 9 additions and 9 deletions

View File

@@ -37,18 +37,18 @@ lint:
sh -c 'test -z "$$(gofmt -l .)"'
debug: build
GOTRACEBACK=all HISTORYPOSTER_DEBUG=1 ./$(FN) 2>&1 | tee -a debug.log
GOTRACEBACK=all HISTORYPOSTER_DEBUG=1 ./$(FN)d 2>&1 | tee -a debug.log
debugger:
cd cmd/historyposter && dlv debug main.go
run: build
./$(FN)
./$(FN)d
clean:
-rm ./$(FN)
-rm ./$(FN)d
build: ./$(FN)
build: ./$(FN)d
docker:
docker build .
@@ -56,7 +56,7 @@ docker:
go-get:
cd cmd/$(FN) && go get -v
./$(FN): */*.go cmd/*/*.go go-get
cd cmd/$(FN) && go build -o ../../$(FN) $(GOFLAGS) .
./$(FN)d: */*.go cmd/*/*.go go-get
cd cmd/$(FN) && go build -o ../../$(FN)d $(GOFLAGS) .
.PHONY: build fmt test is_uncommitted docker dist hub upload-docker-image clean run rundebug default build-docker-image-dist