Skip to content

Commit

Permalink
fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon committed Jan 6, 2024
1 parent 0fc790d commit dca8093
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Binary file removed build-data/web/preview-image.png
Binary file not shown.
3 changes: 0 additions & 3 deletions build-scripts/prepare-web-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ cp -R gfx web_bundle/
# Remove .DS_Store files.
find web_bundle -name ".DS_Store" -type f -exec rm {} \;

# Remove old non-ttf font
rm web_bundle/data/font/terminus.fon

# Remove many non-default tilesets.
echo "Removing non-default tilesets..."
rm -rf web_bundle/gfx/MshockXotto+
Expand Down
11 changes: 5 additions & 6 deletions build-scripts/prepare-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
set -exo pipefail

mkdir -p build/
cp index.html build/
cp cataclysm-tiles.data build/
cp cataclysm-tiles.js build/
cp cataclysm-tiles.wasm build/
cp cataclysm-tiles.wasm.debug.wasm build/
cp \
index.html \
cataclysm-tiles.{data,js,wasm,wasm.debug.wasm} \
data/font/Terminus.ttf \
build
cp data/cataicon.ico build/favicon.ico
cp data/font/Terminus.ttf build/Terminus.ttf

0 comments on commit dca8093

Please sign in to comment.