mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-26 13:49:21 +08:00
change run command to use local config
This commit is contained in:
parent
482b8f247f
commit
15e11a3d5e
6
Makefile
6
Makefile
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user