mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
update paths in build scripts
This commit is contained in:
parent
c1b7d7d98c
commit
44ebfd96a2
|
@ -3,5 +3,5 @@
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)) + '/build-scripts')
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
subprocess.call(['sh', 'build-osx.sh', 'USE_CMAKE=1'])
|
||||
|
|
|
@ -4,7 +4,7 @@ import os
|
|||
import shutil
|
||||
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
dirs = ['./bin', './lib', './build-scripts/cmake/build', './build-scripts/genie/xcode4']
|
||||
dirs = ['../bin', '../lib', './cmake/build', './genie/xcode4']
|
||||
for dir in dirs:
|
||||
if os.path.isdir(dir): shutil.rmtree(dir)
|
||||
|
||||
|
|
|
@ -6,6 +6,6 @@ import subprocess
|
|||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
subprocess.call('./build')
|
||||
|
||||
if os.path.isdir('./bin') and os.path.isfile('./bin/xlnt.test'):
|
||||
os.chdir('./bin')
|
||||
if os.path.isdir('../bin') and os.path.isfile('../bin/xlnt.test'):
|
||||
os.chdir('../bin')
|
||||
subprocess.call(['./xlnt.test'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user