添加了windows下的runserver和runtest脚本 [ci sikp]
This commit is contained in:
1 parent
19f9f1c374
commit
1d4af5cc7c
3 files changed
+18
-1
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
@echo off
|
||||||
|
python manage.py runserver
|
||||||
|
cls
|
||||||
|
cd..
|
||||||
|
python manage.py runserver
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
@echo off
|
||||||
|
coverage run --source='.' manage.py test
|
||||||
|
coverage html
|
||||||
|
cd htmlcov
|
||||||
|
index.html
|
||||||
|
cls
|
||||||
|
cd..
|
||||||
|
coverage run --source='.' manage.py test
|
||||||
|
coverage html
|
||||||
|
cd htmlcov
|
||||||
|
index.html
|
||||||
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
coverage run --source='.' manage.py test
|
coverage run --source='.' manage.py test
|
||||||
nose html
|
coverage html
|
||||||
open htmlcov/index.html
|
open htmlcov/index.html
|
||||||
Reference in new issue
Block a user