mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-01 12:23:22 +08:00
Add script to run specs in CI, fixes #61.
This commit is contained in:
8
script/cibuild
Executable file
8
script/cibuild
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
|
||||
test = os.path.join(os.path.dirname(__file__), 'test.py')
|
||||
subprocess.check_call([test, '--ci'])
|
||||
@@ -17,7 +17,7 @@ def main():
|
||||
else:
|
||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom.exe')
|
||||
|
||||
subprocess.check_call([atom_shell, 'spec'])
|
||||
subprocess.check_call([atom_shell, 'spec'] + sys.argv[1:])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user