添加了windows下的runserver和runtest脚本 [ci sikp]

This commit is contained in:
sxw 2015-08-04 19:18:56 +08:00
parent 19f9f1c374
commit 1d4af5cc7c
3 changed files with 18 additions and 1 deletions

5
tools/runserver.cmd Normal file
View File

@ -0,0 +1,5 @@
@echo off
python manage.py runserver
cls
cd..
python manage.py runserver

12
tools/runtest.cmd Normal file
View File

@ -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

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
coverage run --source='.' manage.py test
nose html
coverage html
open htmlcov/index.html