mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 03:35:51 +03:00
14 lines
446 B
Bash
Executable File
14 lines
446 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
cd game
|
|
wasm-pack build --release --target web -- --no-default-features --features wasm,wasm_s3
|
|
cd pkg
|
|
# Temporarily point to the Dropbox data, which is gzipped
|
|
rm -f system
|
|
ln -s ~/Dropbox/abstreet_data/data/system/ system
|
|
aws s3 sync --delete --exclude '*/osm_demo/*' . s3://abstreet
|
|
# Undo that symlink swap
|
|
git checkout system
|
|
echo "Have the appropriate amount of fun: http://abstreet.s3-website.us-east-2.amazonaws.com/"
|