Move command and dockerfile (#5662)
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 16 Jul 2019 11:23:24 +0000 (20:23 +0900)
committer이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Tue, 16 Jul 2019 11:23:24 +0000 (20:23 +0900)
Move command to infra/nnfw/command
Move dockerfile to infra/nnfw/docker

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
16 files changed:
infra/nnfw/command/build [moved from scripts/command/build with 100% similarity]
infra/nnfw/command/build-docker [moved from scripts/command/build-docker with 100% similarity]
infra/nnfw/command/configure [moved from scripts/command/configure with 100% similarity]
infra/nnfw/command/copyright-check [moved from scripts/command/copyright-check with 100% similarity]
infra/nnfw/command/docker-run [moved from scripts/command/docker-run with 100% similarity]
infra/nnfw/command/docker-run-user [moved from scripts/command/docker-run-user with 100% similarity]
infra/nnfw/command/docker-shell [moved from scripts/command/docker-shell with 100% similarity]
infra/nnfw/command/doxygen [moved from scripts/command/doxygen with 100% similarity]
infra/nnfw/command/format-check [moved from scripts/command/format-check with 100% similarity]
infra/nnfw/command/gen-coverage-report [moved from scripts/command/gen-coverage-report with 100% similarity]
infra/nnfw/command/install [moved from scripts/command/install with 100% similarity]
infra/nnfw/command/install-githooks [moved from scripts/command/install-githooks with 100% similarity]
infra/nnfw/command/pylint [moved from scripts/command/pylint with 100% similarity]
infra/nnfw/docker/Dockerfile [moved from scripts/docker/Dockerfile with 100% similarity]
infra/nnfw/docker/Dockerfile_tizen [moved from scripts/docker/Dockerfile_tizen with 100% similarity]
nnfw

diff --git a/nnfw b/nnfw
index a46f0ec..12e71e0 100755 (executable)
--- a/nnfw
+++ b/nnfw
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-NNFW_SCRIPT_RPATH="scripts"
+NNFW_SCRIPT_RPATH="infra/nnfw"
 NNFW_COMMAND_RPATH="${NNFW_SCRIPT_RPATH}/command"
 
 NNFW_PROJECT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@@ -35,7 +35,7 @@ export NNFW_SCRIPT_PATH
 
 function import()
 {
-  source "${NNFW_PROJECT_PATH}/infra/nnfw/config/$1"
+  source "${NNFW_PROJECT_PATH}/${NNFW_SCRIPT_RPATH}/config/$1"
 }
 
 source "${COMMAND_FILE}" "$@"