Pārlūkot izejas kodu

Some improvements

84582af
Dirk Alders 3 gadus atpakaļ
vecāks
revīzija
0f4fbe3a58
2 mainītis faili ar 7 papildinājumiem un 5 dzēšanām
  1. 3
    0
      gitsubup
  2. 4
    5
      mkunittest

+ 3
- 0
gitsubup Parādīt failu

@@ -0,0 +1,3 @@
1
+#!/bin/sh
2
+#
3
+git submodule foreach git checkout master && git submodule foreach git pull

+ 4
- 5
mkunittest Parādīt failu

@@ -1,4 +1,4 @@
1
-#!/usr/bin/env python
1
+#!/usr/bin/env python3
2 2
 # -*- coding: UTF-8 -*-
3 3
 
4 4
 import os
@@ -137,12 +137,12 @@ def testrun(tcl):
137 137
 with open('.gitignore', 'w') as fh:
138 138
     fh.write(gitignore)
139 139
 os.mkdir('docs')
140
-os.mkdir('examples')
141
-os.symlink('../pylibs/%s' % name, 'examples/%s' % name)
140
+os.symlink('../pylibs/%s' % name, 'docs/%s' % name)
142 141
 os.mkdir('pylibs')
143 142
 os.mkdir('requirements')
144 143
 os.mkdir('unittest')
145
-os.symlink('../pylibs/unittest/unittest_flow.sh', 'unittest/unittest.sh')
144
+os.symlink('../pylibs/unittest/scripts/unittest.sh', 'unittest/unittest.sh')
145
+os.symlink('../pylibs/unittest/scripts/unittest.py', 'unittest/unittest.py')
146 146
 os.mkdir('unittest/input_data')
147 147
 os.mkdir('unittest/output_data')
148 148
 os.mkdir('unittest/src')
@@ -155,4 +155,3 @@ for lib_name in [name, 'report', 'unittest', 'fstools', 'reqif']:
155 155
 os.mkdir('unittest/src/tests')
156 156
 with open('unittest/src/tests/__init__.py', 'w') as fh:
157 157
     fh.write(test_init_py)
158
-

Notiek ielāde…
Atcelt
Saglabāt