Skip to content

Commit

Permalink
Merge branch 'main' into approx-const
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscerie authored Jul 8, 2024
2 parents 0eccb61 + 6e02c2f commit db561bc
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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']
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/src/cli/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
12 changes: 12 additions & 0 deletions selene-lib/default_std/roblox_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db561bc

Please sign in to comment.