Skip to content

Commit

Permalink
Update rbx-dom, and support binary files (#41)
Browse files Browse the repository at this point in the history
* Update rbx-dom, and support rbxl

* Github Actions CI

* Update as per review feedback

* Fix BufReader

* Update README

* 1.0.0, CHANGELOG
  • Loading branch information
Kampfkarren authored Jan 7, 2021
1 parent b85fa8b commit fee28e9
Show file tree
Hide file tree
Showing 11 changed files with 578 additions and 391 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build rbxlx-to-rojo
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Build (All features)
run: |
cargo build --locked --release --all-features
- name: Upload selene
uses: actions/upload-artifact@v1
with:
name: rbxlx-to-rojo-windows
path: ./target/release/rbxlx-to-rojo.exe
build_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Build (All features)
run: |
source $HOME/.cargo/env
cargo build --locked --release --all-features
- name: Upload rbxlx-to-rojo
uses: actions/upload-artifact@v1
with:
name: rbxlx-to-rojo-macos
path: ./target/release/rbxlx-to-rojo
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Test rbxlx-to-rojo
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run tests
run: cargo test
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.0.0] - 2021-01-06
### Added
- Added support for .rbxl and .rbxm, and not just .rbxlx.

### Changed
- Changed file reading mechanism to be one that should be more optimized, increasing read times. You can further increase read times by switching to binary (.rbxl, .rbxm) files instead of using .rbxlx.
Loading

0 comments on commit fee28e9

Please sign in to comment.