The website of the guild for MapleStory odd-jobbers. https://oddjobs.codeberg.page/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
673 B

#!/usr/bin/env bash
set -ex
cargo update --aggressive
cargo build
./target/debug/oddjobs_renderer "$1" > ./odd-jobs.html
./target/debug/oddjobs_renderer "$2" > ./guides/index.html
declare -a guide_slugs=("woodsman" "str-cleric" "magelet" "swashbuckler")
for s in "${guide_slugs[@]}"
do
./target/debug/oddjobs_renderer "$2"/"$s"/README.md > ./guides/"$s"/index.html
cp "$2"/"$s"/*.png ./guides/"$s"/
done
./target/debug/oddjobs_renderer "$3" > ./archive/index.html
./target/debug/oddjobs_renderer "$4" --rankings > ./rankings/index.html
cd ./dmg-calc/
tsc
cd ..
rm -rf ./gish-ap-calc/
cp -dR "$5"/gish-ap-calc/ ./gish-ap-calc/
cd ./gish-ap-calc/
tsc
cd ..