Skip to content

Commit

Permalink
Upgrade to full-moon 1.0.0 (#610)
Browse files Browse the repository at this point in the history
TODO:
- [x] Changelog for lua_versions
- [x] Documentation for lua_versions, especially `base` behavior.
- [x] Changelog for new features
  • Loading branch information
Kampfkarren authored Oct 9, 2024
1 parent 6e02c2f commit 8fb4c8c
Show file tree
Hide file tree
Showing 25 changed files with 414 additions and 239 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,33 @@ jobs:
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build (Default features)
run: |
cd selene
cargo build --locked --release
- name: Upload selene
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-windows
path: ./target/release/selene.exe
build_windows_light:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build (Lightweight)
run: |
cd selene
cargo build --locked --release --verbose --no-default-features
- name: Upload selene-light
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-light-windows
path: ./target/release/selene.exe
build_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Build (Default features)
Expand All @@ -45,14 +45,14 @@ jobs:
cd selene
cargo build --locked --release
- name: Upload selene
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-macos
path: ./target/release/selene
build_mac_light:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Build (Lightweight)
Expand All @@ -61,20 +61,20 @@ jobs:
cd selene
cargo build --locked --release --verbose --no-default-features
- name: Upload selene-light
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-light-macos
path: ./target/release/selene
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build (Default features)
run: |
cd selene
cargo build --locked --release
- name: Upload selene
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-linux
path: ./target/release/selene
Expand All @@ -86,20 +86,20 @@ jobs:
command: build
args: --locked --release --target aarch64-unknown-linux-gnu
- name: Upload selene arm64
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-linux-aarch64
path: ./target/aarch64-unknown-linux-gnu/release/selene
build_linux_light:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build (Lightweight)
run: |
cd selene
cargo build --locked --release --verbose --no-default-features
- name: Upload selene-light
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-light-linux
path: ./target/release/selene
Expand All @@ -111,7 +111,7 @@ jobs:
command: build
args: --locked --release --verbose --no-default-features --target aarch64-unknown-linux-gnu
- name: Upload selene-light arm64
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-light-linux-aarch64
path: ./target/aarch64-unknown-linux-gnu/release/selene
Expand All @@ -120,7 +120,7 @@ jobs:
needs: ['build_windows_light', 'build_windows', 'build_mac', 'build_mac_light', 'build_linux', 'build_linux_light']
if: contains(github.event.head_commit.message, '[release]')
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
asset_path: ./selene-light-macos.zip
asset_name: selene-light-${{ env.VERSION }}-macos.zip
asset_content_type: application/zip
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-roblox-std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Generate
run: cargo run --bin selene --verbose -- generate-roblox-std
- name: Upload
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: roblox
path: roblox.yml
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ 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 `Path2DControlPoint.new` to the Roblox standard library
- [Adds `lua_versions` to standard library definitions](https://kampfkarren.github.io/selene/usage/std.html#lua_versions). Specifying this will only allow the syntax used by those languages. The default standard libraries now specify these, meaning that invalid syntax for that language will no longer be supported.

### Changed
- Upgrades to [full-moon 1.0.0](https://github.com/Kampfkarren/full-moon/blob/main/CHANGELOG.md#100---2024-10-08), which should provide faster parse speeds, support for multiple parsing errors at the same time, and support for some new Luau syntax.

## [0.27.1](https://github.com/Kampfkarren/selene/releases/tag/0.27.1) - 2024-04-28
### Fixed
Expand Down
Loading

0 comments on commit 8fb4c8c

Please sign in to comment.