mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-02 20:17:35 +08:00
d605a01b2a
Fixed #14.
33 lines
527 B
Makefile
33 lines
527 B
Makefile
|
|
### help: Show Makefile rules.
|
|
.PHONY: help
|
|
help:
|
|
@echo Makefile rules:
|
|
@echo
|
|
@grep -E '^### [-A-Za-z0-9_]+:' Makefile | sed 's/###/ /'
|
|
|
|
|
|
### run: Start the apisix server
|
|
.PHONY: run
|
|
run:
|
|
mkdir -p logs
|
|
sudo $$(which openresty) -p $$PWD/
|
|
|
|
|
|
### stop: Stop the apisix server
|
|
.PHONY: stop
|
|
stop:
|
|
sudo $$(which openresty) -p $$PWD/ -s stop
|
|
|
|
|
|
### clean: Remove generated files
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf logs/
|
|
|
|
|
|
### reload: Reload the apisix server
|
|
.PHONY: reload
|
|
reload:
|
|
sudo $$(which openresty) -p $$PWD/ -s reload
|