Skip to content

Commit

Permalink
Add utility to build locally
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Dec 23, 2023
1 parent f46093a commit 448a209
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ node_modules/
dist/
output/
.idea
.env
refinedsites-*-all.jar
gh-**/
.parcel-cache/
10 changes: 10 additions & 0 deletions build-local.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
refinedSitesVersion="0.1.2"

if [ ! -f "refinedsites-$refinedSitesVersion-all.jar" ]; then
echo "downloading Refined Sites $refinedSitesVersion"
wget "https://github.com/refinedmods/refinedsites/releases/download/v$refinedSitesVersion/refinedsites-$refinedSitesVersion-all.jar"
fi

export "$(cat .env | xargs)"

java -jar refinedsites-$refinedSitesVersion-all.jar .

0 comments on commit 448a209

Please sign in to comment.