-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.py
executable file
·32 lines (24 loc) · 877 Bytes
/
build.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""
<Program>
build.py
<Purpose>
This is a wrapper script for SeattleTestbed/common/build_component.py.
It makes it so that users can start build_component without changing
directories.
build_component, in turn, makes runnable Seattle components out of
source repositories.
<Usage>
python build.py [TARGET_DIR]
TARGET_DIR is an optional target directory for the build process.
When omitted, /path/to/component/RUNNABLE is used instead.
<Note>
While this file is redistributed with every buildable Seattle repo,
the ``master copy'' (and thus the most up-to-date version) is kept
at https://github.com/SeattleTestbed/buildscripts
"""
import os
import sys
# Add build_component.py's path
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "../DEPENDENCIES/common/"))
import build_component
build_component.main()