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.

19 lines
382 B

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