writefreely/Makefile

35 lines
454 B
Makefile
Raw Normal View History

GOCMD=go
GOINSTALL=$(GOCMD) install
GOBUILD=$(GOCMD) build
GOTEST=$(GOCMD) test
2018-11-08 18:56:14 +01:00
GOGET=$(GOCMD) get
BINARY_NAME=writefreely
all : build
2018-11-08 18:56:14 +01:00
build: deps
cd cmd/writefreely; $(GOBUILD)
test:
$(GOTEST) -v ./...
run:
$(GOINSTALL) ./...
$(BINARY_NAME) --debug
2018-11-08 18:56:14 +01:00
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