1
0
mirror of https://github.com/writeas/writefreely synced 2025-01-22 16:50:03 +01:00
writefreely/Makefile
Matt Baer 6867ac07b4 Update Makefile with new commands, fixes
- Fixes make clean
- Changes make to make ui
- Generates keys on make install
- Adds make run, make build
2018-11-08 12:45:59 -05:00

31 lines
406 B
Makefile

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