A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

35 line
460 B

  1. GOCMD=go
  2. GOINSTALL=$(GOCMD) install
  3. GOBUILD=$(GOCMD) build
  4. GOTEST=$(GOCMD) test
  5. GOGET=$(GOCMD) get
  6. BINARY_NAME=writefreely
  7. all : build
  8. build: deps
  9. cd cmd/writefreely; $(GOBUILD) -v
  10. test:
  11. $(GOTEST) -v ./...
  12. run:
  13. $(GOINSTALL) ./...
  14. $(BINARY_NAME) --debug
  15. deps :
  16. $(GOGET) -v ./...
  17. install :
  18. ./keys.sh
  19. cd less/; $(MAKE) install $(MFLAGS)
  20. ui : force_look
  21. cd less/; $(MAKE) $(MFLAGS)
  22. clean :
  23. cd less/; $(MAKE) clean $(MFLAGS)
  24. force_look :
  25. true