mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
12 lines
256 B
Python
Executable File
12 lines
256 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
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')
|
|
subprocess.call(['./xlnt.test'])
|