-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import glob | ||
import os | ||
import subprocess | ||
from itertools import chain | ||
|
||
armaclass_path = 'armaclass' | ||
types = ('*.html', '*.c', '*.cpp', '*.pyd', '*.so') | ||
files_to_delete = chain(*(glob.glob(os.path.join(armaclass_path, file_type)) for file_type in types)) | ||
for file_path in files_to_delete: | ||
os.remove(file_path) | ||
|
||
subprocess.run('python setup_cython.py build_ext --inplace --force', shell=True, check=True) | ||
subprocess.run('pytest -x -s', shell=True, check=True) | ||
subprocess.run('python testconfig.py', shell=True, check=True) | ||
import glob | ||
import os | ||
import subprocess | ||
from itertools import chain | ||
|
||
armaclass_path = 'armaclass' | ||
types = ('*.html', '*.c', '*.cpp', '*.pyd', '*.so') | ||
files_to_delete = chain(*(glob.glob(os.path.join(armaclass_path, file_type)) for file_type in types)) | ||
for file_path in files_to_delete: | ||
os.remove(file_path) | ||
|
||
subprocess.run('python setup_cython.py build_ext --inplace --force', shell=True, check=True) | ||
subprocess.run('pytest -x -s', shell=True, check=True) | ||
subprocess.run('python testconfig.py', shell=True, check=True) |
Empty file.