https://github.com/swz-gh/yare-rust-template
A easy to setup template for ViliamVadocz/yare-rust
https://github.com/swz-gh/yare-rust-template
Last synced: over 1 year ago
JSON representation
A easy to setup template for ViliamVadocz/yare-rust
- Host: GitHub
- URL: https://github.com/swz-gh/yare-rust-template
- Owner: swz-git
- License: mit
- Created: 2021-06-13T17:03:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-23T17:31:51.000Z (over 4 years ago)
- Last Synced: 2024-09-04T05:01:25.835Z (almost 2 years ago)
- Language: Rust
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rust-yare-template
A easy to setup template for ViliamVadocz/yare-rust
## Known issues
None!
## Setup
Dependencies:
- rustup (https://rustup.rs/)
- node.js v16 (https://nodejs.org/en/)
- yarn (`npm i -g yarn` when node is installed)
Installation steps:
1. `git clone https://github.com/swz-gh/rust-yare-template.git`
2. `cd rust-yare-template`
3. `yarn`
4. You're done!
You can now edit your code in `src/lib.rs` and check out the wrappers in `src/wrappers.rs`.
## Building
Building is as simple as `yarn build`. Once its done you will have a file called `bundle.js`.
If you wanna upload it to yare, run `yarn upload` and it'll compile and upload it to your active games.