diff options
author | 오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com> | 2019-07-24 12:15:33 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2019-07-24 12:15:33 +0900 |
commit | f115c344507a713b5ff72b202fbad948fb49bc82 (patch) | |
tree | 5c013eec89c61c2557b52c7681d2717eed6690a1 /nnfw | |
parent | 60180cdfe3b51281025c66149cd4a743eac3d76d (diff) | |
download | nnfw-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-x | nnfw | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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" |