1
0
mirror of https://github.com/writeas/writefreely synced 2025-01-22 11:29:57 +01:00
writefreely/Makefile
2018-11-08 12:56:14 -05:00

35 lines
454 B
Makefile

GOCMD=go
GOINSTALL=$(GOCMD) install
GOBUILD=$(GOCMD) build
GOTEST=$(GOCMD) test
GOGET=$(GOCMD) get
BINARY_NAME=writefreely
all : build
build: deps
cd cmd/writefreely; $(GOBUILD)
test:
$(GOTEST) -v ./...
run:
$(GOINSTALL) ./...
$(BINARY_NAME) --debug
deps :
$(GOGET) ./...
install :
./keys.sh
cd less/; $(MAKE) install $(MFLAGS)
ui : force_look
cd less/; $(MAKE) $(MFLAGS)
clean :
cd less/; $(MAKE) clean $(MFLAGS)
force_look :
true