summaryrefslogtreecommitdiffstats
path: root/x.py
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-03-03 05:27:07 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-03-04 21:38:26 +0300
commit11adac350b63ab3371a50b10184238ebc3a2be7f (patch)
tree87e871ec683de27076f38a832b8f04dc8b671860 /x.py
parentrun-make on MSVC: Do not generate object files in the source directory (diff)
downloadgrust-11adac350b63ab3371a50b10184238ebc3a2be7f.tar.gz
grust-11adac350b63ab3371a50b10184238ebc3a2be7f.tar.bz2
grust-11adac350b63ab3371a50b10184238ebc3a2be7f.tar.xz
bootstrap.py: Report build status
Move some code from x.py to bootstrap.py
Diffstat (limited to 'x.py')
-rwxr-xr-xx.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/x.py b/x.py
index d281a6abc9..8f528889d6 100755
--- a/x.py
+++ b/x.py
@@ -9,14 +9,12 @@
9# option. This file may not be copied, modified, or distributed 9# option. This file may not be copied, modified, or distributed
10# except according to those terms. 10# except according to those terms.
11 11
12import sys 12# This file is only a "symlink" to boostrap.py, all logic should go there.
13
13import os 14import os
14dir = os.path.dirname(__file__) 15import sys
15sys.path.append(os.path.abspath(os.path.join(dir, "src", "bootstrap"))) 16rust_dir = os.path.dirname(os.path.abspath(__file__))
17sys.path.append(os.path.join(rust_dir, "src", "bootstrap"))
16 18
17import bootstrap 19import bootstrap
18 20bootstrap.main()
19try:
20 bootstrap.main()
21except KeyboardInterrupt:
22 sys.exit()