Skip to content

Commit

Permalink
Change project name to 'spiritus'
Browse files Browse the repository at this point in the history
  • Loading branch information
Xevion committed Apr 24, 2024
1 parent 5e77dc8 commit 862c231
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ jobs:
- name: Assemble Archive
run: |
mkdir /tmp/example/
cp ./target/release/pacman /tmp/example/
chmod a+x /tmp/example/pacman
cp ./target/release/spiritus /tmp/example/
chmod a+x /tmp/example/spiritus
mkdir /tmp/example/assets
cp ./assets/TerminalVector.ttf ./assets/tetris.ogg ./assets/fruit.png /tmp/example/assets
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
- name: Prepare Archive
run: |
New-Item -Type Directory ./release/
Move-Item -Path ./target/release/pacman.exe -Destination ./release/
Move-Item -Path ./target/release/spiritus.exe -Destination ./release/
Move-Item -Path ./SDL2.dll, ./SDL2_image.dll, ./SDL2_ttf.dll, ./SDL2_mixer.dll, ./SDL2_gfx.dll -Destination ./release/
New-Item -Type Directory ./release/assets/
Move-Item -Path ./assets/TerminalVector.ttf, ./assets/tetris.ogg, ./assets/fruit.png -Destination ./release/assets/
Expand Down
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "pacman"
name = "spiritus"
version = "0.1.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ <h2 class="text-xl font-mono mt-1 lowercase">Controls</h2>
canvas: document.getElementById("canvas"),
};
</script>
<script type="text/javascript" src="pacman.js"></script>
<script type="text/javascript" src="spiritus.js"></script>
</body>
</html>
10 changes: 5 additions & 5 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ cp assets/index.html dist
cp assets/*.woff* dist
cp assets/build.css dist
cp assets/favicon.ico dist
cp $output_folder/pacman.wasm dist
cp $output_folder/pacman.js dist
cp $output_folder/spiritus.wasm dist
cp $output_folder/spiritus.js dist
# only if .data file exists
cp $output_folder/deps/pacman.data dist
if [ -f $output_folder/pacman.wasm.map ]; then
cp $output_folder/pacman.wasm.map dist
cp $output_folder/deps/spiritus.data dist
if [ -f $output_folder/spiritus.wasm.map ]; then
cp $output_folder/spiritus.wasm.map dist
fi

if [ "$serve" = 'true' ]; then
Expand Down

0 comments on commit 862c231

Please sign in to comment.