summaryrefslogtreecommitdiff
path: root/nnfw
diff options
context:
space:
mode:
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-07-24 12:15:33 +0900
committerGitHub Enterprise <noreply-CODE@samsung.com>2019-07-24 12:15:33 +0900
commitf115c344507a713b5ff72b202fbad948fb49bc82 (patch)
tree5c013eec89c61c2557b52c7681d2717eed6690a1 /nnfw
parent60180cdfe3b51281025c66149cd4a743eac3d76d (diff)
downloadnnfw-f115c344507a713b5ff72b202fbad948fb49bc82.tar.gz
nnfw-f115c344507a713b5ff72b202fbad948fb49bc82.tar.bz2
nnfw-f115c344507a713b5ff72b202fbad948fb49bc82.zip
Replace and rename format checker (#5805)
Replace nnfw format checker to infra/command Rename to format Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Diffstat (limited to 'nnfw')
-rwxr-xr-xnnfw5
1 files changed, 5 insertions, 0 deletions
diff --git a/nnfw b/nnfw
index 12e71e02e..3925509a0 100755
--- a/nnfw
+++ b/nnfw
@@ -24,6 +24,11 @@ if [[ -z "${COMMAND}" ]]; then
fi
COMMAND_FILE="${NNFW_PROJECT_PATH}/${NNFW_COMMAND_RPATH}/${COMMAND}"
+# Workraound: replace format check command
+# Remove this after make call in infra/nnfw/command/format-check to infra/command/format
+if [ "${COMMAND}" = "format-check" ]; then
+ COMMAND_FILE="${NNFW_PROJECT_PATH}/infra/command/format" "$@"
+fi
if [[ ! -f "${COMMAND_FILE}" ]]; then
echo "ERROR: '${COMMAND}' is not supported"