-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a963b9
commit ad7571e
Showing
11 changed files
with
388 additions
and
363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,29 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (c) 2014 nexB Inc. http://www.nexb.com/ - All rights reserved. | ||
# Copyright (c) 2015 nexB Inc. http://www.nexb.com/ - All rights reserved. | ||
# | ||
################################ | ||
# change these variables to customize this script locally | ||
################################ | ||
# you can define one or more thirdparty dirs, each prefixed with TPP_DIR | ||
export TPP_DIR="thirdparty" | ||
|
||
# default configurations | ||
CONF_DEFAULT="etc/conf" | ||
################################# | ||
|
||
CFG_CMD_LINE_ARGS="$@" | ||
|
||
if [ "$1" == "--init" ]; then | ||
CFG_CMD_LINE_ARGS=$CONF_INIT | ||
fi | ||
|
||
if [ "$1" == "" ]; then | ||
# default configuration if not argument is provided | ||
CFG_CMD_LINE_ARGS="etc/conf" | ||
# default conf if not argument is provided | ||
CFG_CMD_LINE_ARGS=$CONF_DEFAULT | ||
fi | ||
|
||
source etc/configure $CFG_CMD_LINE_ARGS | ||
python2.7 etc/configure.py $CFG_CMD_LINE_ARGS | ||
if [ -f "bin/activate" ]; then | ||
source bin/activate | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.