A revival of the classic Kosmos with less bloat, and more features.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Kosmos-Reborn/Makefile

19 lines
382 B

TARGET := builder
SOURCE := ./cmd/builder/
OUTPUT := ./build/
all: clean deps $(TARGET)
clean:
@rm -rf ./$(OUTPUT)
@echo Cleaned previous build...
deps:
@go mod download
@echo Dependencies downloaded...
$(TARGET):
@mkdir -p ./$(OUTPUT)/modules
@cp -R ./assets/* ./$(OUTPUT)/
@go build -o ./$(OUTPUT)/$@ $(SOURCE)
@echo Kosmos Reborn Builder has been built - $(OUTPUT)$@