Compare commits

...

5 Commits

Author SHA1 Message Date
Maxim Lebedev ad8ae7804d
Merge branch 'feature/Makefile' into develop
continuous-integration/drone/push Build is passing Details
2023-01-16 17:25:29 +06:00
Maxim Lebedev 5848b18fe7
Merge branch 'master' into develop 2023-01-16 17:25:23 +06:00
Maxim Lebedev 82f6c1ea54
Merge branch 'hotfix/config'
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-01-16 17:25:23 +06:00
Maxim Lebedev db44b4e3bd
🐛 Fixed 'env: expected a pointer to a Struct' error 2023-01-16 17:25:13 +06:00
Maxim Lebedev fe12d487d0
🔥 Removed useless commands in Makefile 2023-01-16 17:17:57 +06:00
2 changed files with 1 additions and 3 deletions

View File

@ -17,11 +17,9 @@ all: main.go
$(GO) build -v $(GOFLAGS) -o $(EXECUTABLE)
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
check: ## Perform self-tests
$(GO) generate $(srcdir)/internal/testing/httptest/...
$(GO) test -v -cover -failfast -short -shuffle=on $(GOFLAGS) $(srcdir)/...
.PHONY: help

View File

@ -115,7 +115,7 @@ func init() {
flag.StringVar(&memProfilePath, "memprofile", "", "set path to saving pprof memory profile")
flag.Parse()
if err := env.Parse(&config, env.Options{
if err := env.Parse(config, env.Options{
Environment: nil,
OnSet: nil,
Prefix: "INDIEAUTH_",