forked from greppo-io/greppo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (41 loc) · 940 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Usage: $ make {command}
.ONESHELL:
.PHONY: all
all: hello development
.PHONY: hello
hello:
@echo " "
@echo "Hello World..."
@echo " "
@echo "This is greppo."
@echo " "
@echo "An open-source platform build and deploy your geo-spatial web-applications."
@echo " "
@echo "Development is underway."
@echo " "
.PHONY: serve-dev
serve-dev:
npm run --prefix ./frontend serve & python ./tests/test_server/test.py &
.PHONY: dev-init
dev-init:
@cd frontend ; npm install
.PHONY: build-vue
build-vue:
@cd frontend ; npm run build
.PHONY: serve-vue
serve-vue:
@cd frontend ; npm run serve
.PHONY: serve-star
serve-star:
@cd tests/test_server ; python test.py
.PHONY: run-unit-tests
run-unit-tests:
pytest library/tests/unit_tests
.PHONY: build-html-docs
build-docs:
# Sphinx should be installed before doing this
sphinx-apidoc -f -o docs/source/ src
cd docs && make html
.PHONY: clean
clean:
echo "To be implemented..."