Compare commits
5 Commits
8db9a8b1c4
...
ad8ae7804d
Author | SHA1 | Date |
---|---|---|
Maxim Lebedev | ad8ae7804d | |
Maxim Lebedev | 5848b18fe7 | |
Maxim Lebedev | 82f6c1ea54 | |
Maxim Lebedev | db44b4e3bd | |
Maxim Lebedev | fe12d487d0 |
2
Makefile
2
Makefile
|
@ -17,11 +17,9 @@ all: main.go
|
||||||
$(GO) build -v $(GOFLAGS) -o $(EXECUTABLE)
|
$(GO) build -v $(GOFLAGS) -o $(EXECUTABLE)
|
||||||
|
|
||||||
clean: ## Delete all files in the current directory that are normally created by building the program
|
clean: ## Delete all files in the current directory that are normally created by building the program
|
||||||
-rm $(srcdir)/internal/testing/httptest/{cert,key}.pem
|
|
||||||
$(GO) clean
|
$(GO) clean
|
||||||
|
|
||||||
check: ## Perform self-tests
|
check: ## Perform self-tests
|
||||||
$(GO) generate $(srcdir)/internal/testing/httptest/...
|
|
||||||
$(GO) test -v -cover -failfast -short -shuffle=on $(GOFLAGS) $(srcdir)/...
|
$(GO) test -v -cover -failfast -short -shuffle=on $(GOFLAGS) $(srcdir)/...
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
|
|
2
main.go
2
main.go
|
@ -115,7 +115,7 @@ func init() {
|
||||||
flag.StringVar(&memProfilePath, "memprofile", "", "set path to saving pprof memory profile")
|
flag.StringVar(&memProfilePath, "memprofile", "", "set path to saving pprof memory profile")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
if err := env.Parse(&config, env.Options{
|
if err := env.Parse(config, env.Options{
|
||||||
Environment: nil,
|
Environment: nil,
|
||||||
OnSet: nil,
|
OnSet: nil,
|
||||||
Prefix: "INDIEAUTH_",
|
Prefix: "INDIEAUTH_",
|
||||||
|
|
Loading…
Reference in New Issue