mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
Use default conf values if file not found (#1022)
* default conf if no file provided * move to the config pkg * rm default config path * rm log
This commit is contained in:
committed by
Aaron Schlesinger
parent
2cf10c3ead
commit
c3d1d14d23
@@ -8,8 +8,8 @@ build-ver:
|
||||
GO111MODULE=on CGO_ENABLED=0 go build -mod=vendor -ldflags "-X github.com/gomods/athens/pkg/build.version=$(VERSION) -X github.com/gomods/athens/pkg/build.buildDate=$(DATE)" -o athens ./cmd/proxy
|
||||
|
||||
.PHONY: run
|
||||
run: build
|
||||
./athens
|
||||
run:
|
||||
cd ./cmd/proxy && go run . -config_file ../../config.dev.toml
|
||||
|
||||
.PHONY: docs
|
||||
docs:
|
||||
|
||||
Reference in New Issue
Block a user