does ts work?
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,7 +1,7 @@
|
|||||||
BINARY=kisurun
|
BINARY=kisurun
|
||||||
BUILD_DIR=build
|
BUILD_DIR=build
|
||||||
|
|
||||||
build:
|
build: all
|
||||||
@echo "Building $(BINARY)..."
|
@echo "Building $(BINARY)..."
|
||||||
go build -o $(BUILD_DIR)/$(BINARY) .
|
go build -o $(BUILD_DIR)/$(BINARY) .
|
||||||
@echo "Copying templates and static..."
|
@echo "Copying templates and static..."
|
||||||
@@ -9,3 +9,5 @@ build:
|
|||||||
mkdir -p $(BUILD_DIR)/static
|
mkdir -p $(BUILD_DIR)/static
|
||||||
cp -r templates/* $(BUILD_DIR)/templates/
|
cp -r templates/* $(BUILD_DIR)/templates/
|
||||||
cp -r static/* $(BUILD_DIR)/static/
|
cp -r static/* $(BUILD_DIR)/static/
|
||||||
|
dist: clean
|
||||||
|
rm -rf $(BUILD_DIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user