Some improvements
This commit is contained in:
parent
9df35b2168
commit
0f4fbe3a58
3
gitsubup
Executable file
3
gitsubup
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
git submodule foreach git checkout master && git submodule foreach git pull
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: UTF-8 -*-
|
# -*- coding: UTF-8 -*-
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@ -137,12 +137,12 @@ def testrun(tcl):
|
|||||||
with open('.gitignore', 'w') as fh:
|
with open('.gitignore', 'w') as fh:
|
||||||
fh.write(gitignore)
|
fh.write(gitignore)
|
||||||
os.mkdir('docs')
|
os.mkdir('docs')
|
||||||
os.mkdir('examples')
|
os.symlink('../pylibs/%s' % name, 'docs/%s' % name)
|
||||||
os.symlink('../pylibs/%s' % name, 'examples/%s' % name)
|
|
||||||
os.mkdir('pylibs')
|
os.mkdir('pylibs')
|
||||||
os.mkdir('requirements')
|
os.mkdir('requirements')
|
||||||
os.mkdir('unittest')
|
os.mkdir('unittest')
|
||||||
os.symlink('../pylibs/unittest/unittest_flow.sh', 'unittest/unittest.sh')
|
os.symlink('../pylibs/unittest/scripts/unittest.sh', 'unittest/unittest.sh')
|
||||||
|
os.symlink('../pylibs/unittest/scripts/unittest.py', 'unittest/unittest.py')
|
||||||
os.mkdir('unittest/input_data')
|
os.mkdir('unittest/input_data')
|
||||||
os.mkdir('unittest/output_data')
|
os.mkdir('unittest/output_data')
|
||||||
os.mkdir('unittest/src')
|
os.mkdir('unittest/src')
|
||||||
@ -155,4 +155,3 @@ for lib_name in [name, 'report', 'unittest', 'fstools', 'reqif']:
|
|||||||
os.mkdir('unittest/src/tests')
|
os.mkdir('unittest/src/tests')
|
||||||
with open('unittest/src/tests/__init__.py', 'w') as fh:
|
with open('unittest/src/tests/__init__.py', 'w') as fh:
|
||||||
fh.write(test_init_py)
|
fh.write(test_init_py)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user