mirror of https://github.com/writeas/writefreely
- Fixes make clean - Changes make to make ui - Generates keys on make install - Adds make run, make buildpull/24/head
parent
2e52b8cf55
commit
6867ac07b4
@ -1,14 +1,30 @@ |
||||
GOCMD=go
|
||||
GOINSTALL=$(GOCMD) install
|
||||
GOBUILD=$(GOCMD) build
|
||||
GOTEST=$(GOCMD) test
|
||||
BINARY_NAME=writefreely
|
||||
|
||||
all : local |
||||
all : build |
||||
|
||||
install : |
||||
cd less/; $(MAKE) install $(MFLAGS)
|
||||
build: |
||||
cd cmd/writefreely; $(GOBUILD)
|
||||
|
||||
clean : |
||||
test: |
||||
$(GOTEST) -v ./...
|
||||
|
||||
run: |
||||
$(GOINSTALL) ./...
|
||||
$(BINARY_NAME) --debug
|
||||
|
||||
install : |
||||
./keys.sh
|
||||
cd less/; $(MAKE) install $(MFLAGS)
|
||||
|
||||
local : force_look |
||||
ui : force_look |
||||
cd less/; $(MAKE) $(MFLAGS)
|
||||
|
||||
clean : |
||||
cd less/; $(MAKE) clean $(MFLAGS)
|
||||
|
||||
force_look : |
||||
true
|
||||
|
Loading…
Reference in new issue