We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 141a146 commit b1999e7Copy full SHA for b1999e7
Makefile
@@ -70,9 +70,13 @@ start:
70
.PHONY: all ## Run all PLUGIN DEV targets
71
all: setup makemigrations migrate collectstatic initializers start
72
73
-#.PHONY: test
74
-#test:
75
-# ${VENV_PY_PATH} /opt/netbox/netbox/manage.py runserver test ${PLUGIN_NAME}
+.PHONY: rebuild ## Run PLUGIN DEV targets to rebuild
+rebuild: setup makemigrations migrate collectstatic start
+
76
+.PHONY: test
77
+test: setup
78
+ ${VENV_PY_PATH} ${NETBOX_MANAGE_PATH}/manage.py makemigrations ${PLUGIN_NAME} --check
79
+ ${VENV_PY_PATH} ${NETBOX_MANAGE_PATH}/manage.py test ${PLUGIN_NAME}
80
81
#relpatch:
82
# $(eval GSTATUS := $(shell git status --porcelain))
0 commit comments