Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.59 KB

BUILD.md

File metadata and controls

60 lines (38 loc) · 1.59 KB

Prerequisites

Please install the following for your platform of choice - macOS or Linux or Windows

  1. The first step is to install Rust and system dependencies.

    Follow the Tauri setup guide

  2. Install Node

  3. Install JDK from Adoptium or from azul or from Oracle

  4. Install Clojure. See more details on ClojureScript here

Build

  • Install rust tool just. This is onetime install only
cargo install just

cargo install tauri-cli
  • Build bundle (Mac OS)
yarn install  or npm install --legacy-peer-deps

just build-mac-x86_64-bundle

or 

just build-mac-aarch64-bundle

You can find the final release build dmg file in ./src-tauri/target/x86_64-apple-darwin/release/bundle/dmg and in ./src-tauri/target/aarch64-apple-darwin/release/bundle/dmg

  • Build bundle (Linux)
sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev patchelf  (one time install)

yarn install

just build-cljs-bundle

cargo tauri build --target x86_64-unknown-linux-gnu

Development

Quick setup

just acs (This will build clojurescript and start a local web server)

In another terminal, do

just td (This will build the tauri and start the UI window)

Using REPL

Comming soon