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 : |
build: |
||||||
cd less/; $(MAKE) install $(MFLAGS)
|
cd cmd/writefreely; $(GOBUILD)
|
||||||
|
|
||||||
clean : |
test: |
||||||
|
$(GOTEST) -v ./...
|
||||||
|
|
||||||
|
run: |
||||||
|
$(GOINSTALL) ./...
|
||||||
|
$(BINARY_NAME) --debug
|
||||||
|
|
||||||
|
install : |
||||||
|
./keys.sh
|
||||||
cd less/; $(MAKE) install $(MFLAGS)
|
cd less/; $(MAKE) install $(MFLAGS)
|
||||||
|
|
||||||
local : force_look |
ui : force_look |
||||||
cd less/; $(MAKE) $(MFLAGS)
|
cd less/; $(MAKE) $(MFLAGS)
|
||||||
|
|
||||||
|
clean : |
||||||
|
cd less/; $(MAKE) clean $(MFLAGS)
|
||||||
|
|
||||||
force_look : |
force_look : |
||||||
true
|
true
|
||||||
|
Loading…
Reference in new issue