Skip to content

Commit

Permalink
ts_travis script added
Browse files Browse the repository at this point in the history
  • Loading branch information
geatec committed May 31, 2021
1 parent ce79e57 commit 35d46fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion transcrypt/development/continuous_integration/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ export PATH=$PATH:./transcrypt

# Run the shipment test

python ./transcrypt/development/shipment/shipment_test.py --unattended --transcom python
python ./transcrypt/development/shipment/shipment_test.py --unattended --transcom ts_travis
4 changes: 2 additions & 2 deletions transcrypt/development/shipment/shipment_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def open (self, url, run):
shipDir = os.path.dirname (os.path.abspath (__file__)) .replace ('\\', '/')
appRootDir = '/'.join (shipDir.split ('/')[ : -2])

transpileCommand = commandArgs.transcom if commandArgs.transcom else 'ts' if commandArgs.inst else f'/{appRootDir}/ts'
transpileCommand = commandArgs.transcom if commandArgs.transcom else 'ts' if commandArgs.inst else f'/{appRootDir}/ts'

print (f'\nApplication root directory: {appRootDir}\n')

def getAbsPath (relPath):
Expand Down
1 change: 1 addition & 0 deletions transcrypt/ts_travis
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python $(dirname $0)/__main__.py $@

0 comments on commit 35d46fc

Please sign in to comment.