WIP run and setup

This commit is contained in:
Viktor Lofgren 2023-03-04 14:59:32 +01:00
parent 03b7d7bbbe
commit 91b4579edc

View File

@ -39,6 +39,14 @@ function download_model {
pushd $(dirname $0)
## Upgrade the tools
rm -rf install/loader-process install/converter-process
tar xf ../crawl/loading-process/build/distributions/loader-process.tar -C install/
tar xf ../crawl/converting-process/build/distributions/converter-process.tar -C install/
## Download the sample if necessary
if [ ! -d ${SAMPLE_DIR} ]; then
mkdir -p samples/
@ -63,12 +71,6 @@ rm -f ${SAMPLE_DIR}/process/process.log
rm -f vol/iw/dictionary.dat
rm -f vol/iw/index.dat
## Upgrade the tools
rm -rf install/loader-process install/converter-process
tar xf ../crawl/loading-process/build/distributions/loader-process.tar -C install/
tar xf ../crawl/converting-process/build/distributions/converter-process.tar -C install/
PATH+=":install/converter-process/bin"
PATH+=":install/loader-process/bin"