From 4e9bb193117f2aa7a0df80de125df58be91fe262 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sun, 5 Jul 2020 21:17:49 +0800 Subject: [PATCH] add init.sh --- build/init.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 build/init.sh diff --git a/build/init.sh b/build/init.sh new file mode 100644 index 0000000..4502da4 --- /dev/null +++ b/build/init.sh @@ -0,0 +1,21 @@ +#!/bin/sh +echo "Initialize project..." + +# Compile the engine +cd ../src/engine/ +make +cd ../../ +mv src/engine/engine build/engine + +# Create folder +cd build +mkdir seed +mkdir solution +mkdir farthest +mkdir release + +# Create seed +./engine --all +mv *-*-*.txt seed/ +mv main.csv release/ +mv All_Case.txt release/ \ No newline at end of file