make makefile
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
BINARY=kisurun
|
||||
BUILD_DIR=build
|
||||
|
||||
build:
|
||||
@echo "Building $(BINARY)..."
|
||||
go build -o $(BUILD_DIR)/$(BINARY) .
|
||||
@echo "Copying templates and static..."
|
||||
mkdir -p $(BUILD_DIR)/templates
|
||||
mkdir -p $(BUILD_DIR)/static
|
||||
cp -r templates/* $(BUILD_DIR)/templates/
|
||||
cp -r static/* $(BUILD_DIR)/static/
|
Reference in New Issue
Block a user