diff --git a/.githooks/pre-commit b/.githooks/pre-commit deleted file mode 100755 index c56e28d..0000000 --- a/.githooks/pre-commit +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -# Run rustfmt and fix formatting issues -echo "Running rustfmt..." -cargo fmt -FMT_EXIT_CODE=$? - -# Run clippy and warn if there are issues -echo "Running clippy..." -cargo clippy -- -D warnings -CLIPPY_EXIT_CODE=$? - -# Allow the commit to proceed regardless of formatting/linting results -if [ $FMT_EXIT_CODE -ne 0 ]; then - echo "rustfmt detected issues. Please fix them before committing." -fi - -if [ $CLIPPY_EXIT_CODE -ne 0 ]; then - echo "clippy detected issues. Please fix them before committing." -fi - -exit 0 - diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dc5f977..1b5f7de 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -331,7 +331,7 @@ jobs: path: linux-executable - name: Rename Linux executable run: | - mv /mageanoid dist/mageanoid_linux_x86 + mv mageanoid dist/mageanoid_linux_x86 chmod 777 dist/mageanoid_linux_x86 rm -rf linux-executable diff --git a/Cargo.lock b/Cargo.lock index 2e4e1c1..7765b4e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2463,7 +2463,7 @@ dependencies = [ [[package]] name = "mageanoid" -version = "0.3.2" +version = "0.3.4" dependencies = [ "bevy", "bevy-persistent", diff --git a/Cargo.toml b/Cargo.toml index 9e3fc89..b0a19a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mageanoid" -version = "0.3.2" +version = "0.3.4" edition = "2021" license-file = "LICENSE"