bootstrap.py: Report build status
Move some code from x.py to bootstrap.py
This commit is contained in:
parent
3b454665ea
commit
11adac350b
2 changed files with 21 additions and 14 deletions
14
x.py
14
x.py
|
@ -9,14 +9,12 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
import sys
|
||||
# This file is only a "symlink" to boostrap.py, all logic should go there.
|
||||
|
||||
import os
|
||||
dir = os.path.dirname(__file__)
|
||||
sys.path.append(os.path.abspath(os.path.join(dir, "src", "bootstrap")))
|
||||
import sys
|
||||
rust_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.append(os.path.join(rust_dir, "src", "bootstrap"))
|
||||
|
||||
import bootstrap
|
||||
|
||||
try:
|
||||
bootstrap.main()
|
||||
except KeyboardInterrupt:
|
||||
sys.exit()
|
||||
bootstrap.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue