spellcheck: move dictionary to config dir
Consolidate all configuration into the 'config' directory rather than
having a 'dictionary' subdirectory with a single file in it.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I45d3508a5875148c3fb90150da98013de6a568e7
diff --git a/dictionary/openbmc-spelling.txt b/config/openbmc-spelling.txt
similarity index 100%
rename from dictionary/openbmc-spelling.txt
rename to config/openbmc-spelling.txt
diff --git a/run-unit-test-docker.sh b/run-unit-test-docker.sh
index 280c9ff..bf4da50 100755
--- a/run-unit-test-docker.sh
+++ b/run-unit-test-docker.sh
@@ -31,7 +31,6 @@
BRANCH=${BRANCH:-"master"}
OBMC_BUILD_SCRIPTS="openbmc-build-scripts"
UNIT_TEST_PY_DIR="scripts"
-DICTIONARY_DIR="dictionary"
CONFIG_DIR="config"
UNIT_TEST_PY="unit-test.py"
FORMAT_CODE_SH="format-code.sh"
@@ -78,7 +77,7 @@
chmod a+x "${WORKSPACE}"/${FORMAT_CODE_SH}
# Copy spellings.txt file into workspace
-cp "${WORKSPACE}"/${OBMC_BUILD_SCRIPTS}/${DICTIONARY_DIR}/${SPELLINGS_TXT} \
+cp "${WORKSPACE}"/${OBMC_BUILD_SCRIPTS}/${CONFIG_DIR}/${SPELLINGS_TXT} \
"${WORKSPACE}"/${SPELLINGS_TXT}
# Copy the eslintconfig file into workspce