Update dependencies
This commit is contained in:
8
Makefile
8
Makefile
@@ -3,9 +3,7 @@ BINARY := bin/main
|
||||
SOURCES := $(wildcard src/*.go)
|
||||
|
||||
# Build for the current platform
|
||||
build: $(BINARY)
|
||||
|
||||
$(BINARY): $(SOURCES)
|
||||
build:
|
||||
go build -o $(BINARY) $(SOURCES)
|
||||
|
||||
# Build for Linux
|
||||
@@ -27,10 +25,6 @@ build-cross: $(BINARY)
|
||||
run: build
|
||||
./$(BINARY)
|
||||
|
||||
# Flush cache
|
||||
flush-cache: build
|
||||
./$(BINARY) --flush-cache
|
||||
|
||||
# Clean up generated files
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user