-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from ostis-ai/develop
Release 0.8.0-Fusion
- Loading branch information
Showing
36 changed files
with
380 additions
and
515 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
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 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 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 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
Submodule ims.ostis.kb
updated
1442 files
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 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 +1,9 @@ | ||
python3 ../sc-machine/scripts/build_kb.py ../repo.path -c ../ostis-web-platform.ini | ||
#!/usr/bin/env bash | ||
set -eo pipefail | ||
|
||
if [ -z "${SC_MACHINE_PATH}" ]; | ||
then | ||
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh | ||
fi | ||
|
||
"${SC_MACHINE_PATH}/scripts/build_kb.sh" "$@" |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
set -eo pipefail | ||
|
||
if [ -z "${SC_MACHINE_PATH}" ]; | ||
then | ||
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh | ||
fi | ||
|
||
"${SC_MACHINE_PATH}/scripts/build_sc_machine.sh" "$@" |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
set -eo pipefail | ||
|
||
if [ -z "${SC_WEB_PATH}" ]; | ||
then | ||
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"/set_vars.sh | ||
fi | ||
|
||
"${SC_WEB_PATH}/scripts/build_sc_web.sh" "$@" |
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 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
stage() | ||
{ | ||
([ -n "$(tput setaf 1 2<&-)" ] && { tput setaf 4 && tput bold && echo "$1" && tput sgr0; }) || echo "$1" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/usr/bin/env bash | ||
set -eo pipefail | ||
|
||
CURRENT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd) | ||
source "${CURRENT_DIR}/formats.sh" | ||
|
||
if [[ -z "${SC_MACHINE_PATH}" || -z "${SC_WEB_PATH}" ]]; | ||
then | ||
source "${CURRENT_DIR}/set_vars.sh" | ||
fi | ||
|
||
function usage() { | ||
cat <<USAGE | ||
Usage: $0 [--dev] | ||
Options: | ||
--dev: installs dependencies required to compile sc-machine and sc-web | ||
USAGE | ||
exit 1 | ||
} | ||
|
||
stage "Install dependencies" | ||
|
||
args=() | ||
while [ "$1" != "" ]; do | ||
case $1 in | ||
--dev) | ||
args+=("--dev") | ||
;; | ||
-h | --help) | ||
usage # show help | ||
;; | ||
*) | ||
usage | ||
exit 1 | ||
;; | ||
esac | ||
shift 1 # remove the current value for `$1` and use the next | ||
done | ||
|
||
"${SC_MACHINE_PATH}/scripts/install_dependencies.sh" "${args[@]}" | ||
"${SC_WEB_PATH}/scripts/install_dependencies.sh" | ||
|
||
stage "Dependencies installed successfully" |
Oops, something went wrong.