mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
添加了windows下的runserver和runtest脚本 [ci sikp]
This commit is contained in:
parent
19f9f1c374
commit
1d4af5cc7c
5
tools/runserver.cmd
Normal file
5
tools/runserver.cmd
Normal file
@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
python manage.py runserver
|
||||
cls
|
||||
cd..
|
||||
python manage.py runserver
|
||||
12
tools/runtest.cmd
Normal file
12
tools/runtest.cmd
Normal 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
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
coverage run --source='.' manage.py test
|
||||
nose html
|
||||
coverage html
|
||||
open htmlcov/index.html
|
||||
|
||||
Loading…
Reference in New Issue
Block a user