Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 1.61 KB

compiling.md

File metadata and controls

77 lines (52 loc) · 1.61 KB

Setting up Environment

Linux Users

  1. Set Up Development Environment:

    • Install Nix and Flakes.

    • Clone the repository:

      git clone https://github.com/losses/rune.git
      cd rune
    • Set up the environment:

      nix develop
  2. Compile Rune:

    • Compile for Linux:

      flutter pub run rinf message
      flutter build linux --release

Windows Users

  1. Configure Development Environment:

    Verify your setup with:

    rustc --version
    flutter doctor
  2. Compile Rune:

    flutter pub get
    flutter pub run rinf message
    flutter build windows --release

Protobuf Messages

If you’ve cloned the project or modified .proto files in the ./messages directory, run:

flutter pub run rinf message

Running the App

Build and run the app with:

flutter run

For detailed integration instructions, refer to Rinf's documentation.

Tips for Compiling on macOS

Rune currently does not support macOS, but here are some tips for attempting compilation:

  • Ensure you have the Flutter SDK and Rust toolchain installed.

  • For CocoaPods, avoid using the default macOS Ruby version. Use Homebrew instead:

    brew install cocoapods