feat: add initial project structure with core application scaffolding
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# retoor <retoor@molodetz.nl>
|
||||
|
||||
NIMBLE_BIN := $(HOME)/.nimble/bin
|
||||
NIM := $(NIMBLE_BIN)/nim
|
||||
NIMBLE := $(NIMBLE_BIN)/nimble
|
||||
BIN := sneknim
|
||||
|
||||
export PATH := $(NIMBLE_BIN):$(PATH)
|
||||
|
||||
.PHONY: all build run clean deps
|
||||
|
||||
all: build
|
||||
|
||||
deps:
|
||||
$(NIMBLE) install -d -y
|
||||
|
||||
build: deps
|
||||
$(NIMBLE) build
|
||||
|
||||
run: build
|
||||
./$(BIN) nim.json
|
||||
|
||||
clean:
|
||||
rm -f $(BIN)
|
||||
rm -rf src/nimcache
|
||||
Reference in New Issue
Block a user