change run command to use local config

This commit is contained in:
raziman 2021-02-13 22:48:17 +08:00
parent 482b8f247f
commit 15e11a3d5e

View File

@ -12,9 +12,6 @@ GO = go
default: build
run: format test build
$(BIN_DIR)/$(BIN_NAME)
test:
@echo === TESTING ===
go test
@ -33,6 +30,9 @@ build: $(BIN_DIR)
@echo === BUILDING ===
${GO} build -ldflags "-X main.VERSION=${VERSION}" -v -o $(BIN_DIR)/$(BIN_NAME)
run: build $(BIN_DIR)
bin/gomu -config ./test/config
install: build $(INSTALL_DIR)
@echo === INSTALLING ===
cp ${BIN_DIR}/${BIN_NAME} ${INSTALL_DIR}/${BIN_NAME}