diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 28ac794b..760b6692 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,6 +78,18 @@ jobs: with: name: selene-linux path: ./target/release/selene + - name: Build arm64 (Default features) + uses: actions-rs/cargo@v1 + with: + working-directory: selene + use-cross: true + command: build + args: --locked --release --target aarch64-unknown-linux-gnu + - name: Upload selene arm64 + uses: actions/upload-artifact@v1 + with: + name: selene-linux-aarch64 + path: ./target/aarch64-unknown-linux-gnu/release/selene build_linux_light: runs-on: ubuntu-latest steps: @@ -91,6 +103,18 @@ jobs: with: name: selene-light-linux path: ./target/release/selene + - name: Build arm64 (Lightweight) + uses: actions-rs/cargo@v1 + with: + working-directory: selene + use-cross: true + command: build + args: --locked --release --verbose --no-default-features --target aarch64-unknown-linux-gnu + - name: Upload selene-light arm64 + uses: actions/upload-artifact@v1 + with: + name: selene-light-linux-aarch64 + path: ./target/aarch64-unknown-linux-gnu/release/selene release: runs-on: ubuntu-latest needs: ['build_windows_light', 'build_windows', 'build_mac', 'build_mac_light', 'build_linux', 'build_linux_light'] diff --git a/CHANGELOG.md b/CHANGELOG.md index 794a3aca..d331e4c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased](https://github.com/Kampfkarren/selene/compare/0.27.1...HEAD) ### Added -- Added new [`approximated_constants`](https://kampfkarren.github.io/selene/lints/approximated_constants.html) lint, which will check for number literals that approximate constants. +- Added `Path2DControlPoint.new` to the Roblox standard library +- Added new [`approximated_constants` lint](https://kampfkarren.github.io/selene/lints/approximated_constants.html), which will check for number literals that approximate constants. ## [0.27.1](https://github.com/Kampfkarren/selene/releases/tag/0.27.1) - 2024-04-28 ### Fixed diff --git a/docs/src/cli/installation.md b/docs/src/cli/installation.md index 696021c9..49f8cd38 100644 --- a/docs/src/cli/installation.md +++ b/docs/src/cli/installation.md @@ -16,4 +16,4 @@ cargo install --branch main --git https://github.com/Kampfkarren/selene selene ``` ### Disabling Roblox features -selene is built with Roblox specific lints by default. If you don't want these, type `--no-default-features` after whichever command you choose. +selene is built with Roblox specific lints by default. If you don't want these, then pass `--no-default-features` to the `cargo install` command. diff --git a/selene-lib/default_std/roblox_base.yml b/selene-lib/default_std/roblox_base.yml index 6d99221b..6be6df1b 100644 --- a/selene-lib/default_std/roblox_base.yml +++ b/selene-lib/default_std/roblox_base.yml @@ -349,6 +349,18 @@ globals: OverlapParams.new: args: [] must_use: true + Path2DControlPoint.new: + args: + - required: false + type: + display: UDim2 + - required: false + type: + display: UDim2 + - required: false + type: + display: UDim2 + must_use: true PathWaypoint.new: args: - required: false