use envdir .env.d
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jeffrey Paul 2020-09-22 07:52:58 -07:00
부모 e3e5af8de6
커밋 16fabf59a2
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제

2
.gitignore vendored
파일 보기

@ -1,2 +1,4 @@
debug.log
historyposterd
.env
.env.d

파일 보기

@ -37,7 +37,9 @@ lint:
sh -c 'test -z "$$(gofmt -l .)"'
debug: build
GOTRACEBACK=all HISTORYPOSTER_DEBUG=1 ./$(FN)d 2>&1 | tee -a debug.log
-mkdir -p ./.env.d
echo 1 > ./.env.d/HISTORYPOSTER_DEBUG
GOTRACEBACK=all envdir ./.env.d ./$(FN)d 2>&1 | tee -a debug.log
debugger:
cd cmd/historyposter && dlv debug main.go