-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (41 loc) · 1.6 KB
/
Makefile
File metadata and controls
50 lines (41 loc) · 1.6 KB
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
.DEFAULT_GOAL := help
.PHONY: help
help:
@echo "Welcome to NC_PY_API development. Please use \`make <target>\` where <target> is one of"
@echo " "
@echo " Next commands are only for dev environment with nextcloud-docker-dev!"
@echo " They should run from the host you are developing on(with activated venv) and not in the container with Nextcloud!"
@echo " "
@echo " register31 register nc_py_api for Nextcloud 31"
@echo " register32 register nc_py_api for Nextcloud 32"
@echo " register33 register nc_py_api for Nextcloud 33"
@echo " register register nc_py_api for Nextcloud Last"
@echo " "
@echo " tests31 run nc_py_api tests for Nextcloud 31"
@echo " tests32 run nc_py_api tests for Nextcloud 32"
@echo " tests33 run nc_py_api tests for Nextcloud 33"
@echo " tests run nc_py_api tests for Nextcloud Last"
.PHONY: register31
register31:
/bin/sh scripts/dev_register.sh master-stable31-1 stable31.local
.PHONY: register32
register32:
/bin/sh scripts/dev_register.sh master-stable32-1 stable32.local
.PHONY: register33
register33:
/bin/sh scripts/dev_register.sh master-stable33-1 stable33.local
.PHONY: register
register:
/bin/sh scripts/dev_register.sh master-nextcloud-1 nextcloud.local
.PHONY: tests31
tests31:
NEXTCLOUD_URL=http://stable31.local python3 -m pytest
.PHONY: tests32
tests32:
NEXTCLOUD_URL=http://stable32.local python3 -m pytest
.PHONY: tests33
tests33:
NEXTCLOUD_URL=http://stable33.local python3 -m pytest
.PHONY: tests
tests:
NEXTCLOUD_URL=http://nextcloud.local python3 -m pytest