Skip to content

Commit

Permalink
feat: quality of life 🌳
Browse files Browse the repository at this point in the history
feat: tracing support
feat: new run script
change: dependencies now build without debug symbols by default
change: hot reloading when on debug mode
change: embedded assets only on release
change: now the default plugins are initialized in lib and not in main
fix: serialize feature
fix: embedded assets BEVY_ASSET_PATH
fix: bevy logo on splash
  • Loading branch information
eerii committed Dec 13, 2023
1 parent 035bfbe commit 3d4a62b
Show file tree
Hide file tree
Showing 17 changed files with 186 additions and 150 deletions.
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Fast build

# NOTE: For maximum performance, build using a nightly compiler
# [CHANGE]: For maximum performance, build using a nightly compiler
# If you are using rust stable, remove the "-Zshare-generics=y" below.
# You need to install mold for the fastest compile, else change /usr/bin/mold to lld

Expand All @@ -11,7 +11,7 @@ rustflags = [
"-Zshare-generics=y"
]

# NOTE: You must install [Mach-O LLD Port](https://lld.llvm.org/MachO/index.html) on mac
# [CHANGE]: You must install [Mach-O LLD Port](https://lld.llvm.org/MachO/index.html) on mac
# You can easily do this by installing llvm which includes lld with the "brew" package manager: `brew install llvm`

[target.x86_64-apple-darwin]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ jobs:
- name: Optimize Wasm
uses: NiklasEi/wasm-opt-action@v2
with:
file: build/wasm/dist/*.wasm
file: wasm/dist/*.wasm

- name: Make paths relative
run: |
sed -i 's/\/${{ env.binary }}/.\/${{ env.binary }}/g' build/wasm/dist/index.html
sed -i 's/\/${{ env.binary }}/.\/${{ env.binary }}/g' wasm/dist/index.html
- name: Package as a zip
working-directory: ./build/wasm/dist
working-directory: ./wasm/dist
run: |
zip --recurse-paths ../../../${{ env.binary }}.zip .
zip --recurse-paths ../../${{ env.binary }}.zip .
- name: Upload binaries to artifacts
uses: actions/upload-artifact@v3
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ dist
graphs
.vscode
.data
capture*
*.tracy
Loading

0 comments on commit 3d4a62b

Please sign in to comment.