From 2846f09c4525c3fd4fdcf9486e8bfb8c51f19827 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Wed, 21 Jan 2026 23:41:58 +0000 Subject: [PATCH] chore: switch to mise for tooling & update crates for publishing (#494) --- .github/workflows/docs-test.yml | 18 ++---- .github/workflows/docs.yml | 18 ++---- .github/workflows/publish-crates.yml | 9 ++- .github/workflows/rust.yaml | 32 ++++------ .mise/config.toml | 17 ++++++ .mise/tasks/build | 5 ++ .mise/tasks/check | 5 ++ .mise/tasks/docker/start | 5 ++ .mise/tasks/docker/stop | 5 ++ .mise/tasks/docs/_default | 7 +++ .mise/tasks/docs/build | 7 +++ .mise/tasks/docs/install | 6 ++ .mise/tasks/publish | 5 ++ .mise/tasks/service/api | 5 ++ .mise/tasks/service/crond | 5 ++ .mise/tasks/service/events | 5 ++ .mise/tasks/service/files | 5 ++ .mise/tasks/service/gifbox | 5 ++ .mise/tasks/service/proxy | 5 ++ .mise/tasks/service/pushd | 5 ++ .mise/tasks/test | 5 ++ README.md | 6 +- compose.yml | 4 ++ crates/core/coalesced/Cargo.toml | 8 ++- crates/core/config/Cargo.toml | 1 + crates/core/database/Cargo.toml | 13 +++- crates/core/files/Cargo.toml | 1 + crates/core/models/Cargo.toml | 1 + crates/core/parser/Cargo.toml | 1 + crates/core/permissions/Cargo.toml | 1 + crates/core/presence/Cargo.toml | 1 + crates/core/ratelimits/Cargo.toml | 12 +++- crates/core/result/Cargo.toml | 3 +- .../src/routes/channels/message_unpin.rs | 5 +- default.nix | 59 +++++++++++-------- scripts/start.sh | 15 ----- 36 files changed, 213 insertions(+), 97 deletions(-) create mode 100644 .mise/config.toml create mode 100755 .mise/tasks/build create mode 100755 .mise/tasks/check create mode 100755 .mise/tasks/docker/start create mode 100755 .mise/tasks/docker/stop create mode 100755 .mise/tasks/docs/_default create mode 100755 .mise/tasks/docs/build create mode 100755 .mise/tasks/docs/install create mode 100755 .mise/tasks/publish create mode 100755 .mise/tasks/service/api create mode 100755 .mise/tasks/service/crond create mode 100755 .mise/tasks/service/events create mode 100755 .mise/tasks/service/files create mode 100755 .mise/tasks/service/gifbox create mode 100755 .mise/tasks/service/proxy create mode 100755 .mise/tasks/service/pushd create mode 100755 .mise/tasks/test delete mode 100755 scripts/start.sh diff --git a/.github/workflows/docs-test.yml b/.github/workflows/docs-test.yml index 38c44910..26a065fc 100644 --- a/.github/workflows/docs-test.yml +++ b/.github/workflows/docs-test.yml @@ -14,16 +14,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: pnpm/action-setup@v4 - with: - package_json_file: ./docs/package.json - - uses: actions/setup-node@v4 - with: - node-version: lts/* - cache: pnpm - cache-dependency-path: ./docs/pnpm-lock.yaml - - name: Install dependencies - run: pnpm install - - name: Test build website - run: pnpm run build \ No newline at end of file + - name: Setup Mise + uses: immich-app/devtools/actions/use-mise@cd24790a7f5f6439ac32cc94f5523cb2de8bfa8c # use-mise-action-v1.1.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + + - run: mise docs:build diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 74faefc0..451deda7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,19 +16,13 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: pnpm/action-setup@v4 - with: - package_json_file: ./docs/package.json - - uses: actions/setup-node@v4 - with: - node-version: lts/* - cache: pnpm - cache-dependency-path: ./docs/pnpm-lock.yaml - - name: Install dependencies - run: pnpm install - - name: Build website - run: pnpm run build + - name: Setup Mise + uses: immich-app/devtools/actions/use-mise@cd24790a7f5f6439ac32cc94f5523cb2de8bfa8c # use-mise-action-v1.1.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + + - run: mise docs:build - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 diff --git a/.github/workflows/publish-crates.yml b/.github/workflows/publish-crates.yml index c952a35d..ce02d841 100644 --- a/.github/workflows/publish-crates.yml +++ b/.github/workflows/publish-crates.yml @@ -15,7 +15,10 @@ jobs: with: persist-credentials: false - - name: Publish crates - uses: katyo/publish-crates@02cc2f1ad653fb25c7d1ff9eb590a8a50d06186b # v2 + - name: Setup Mise + uses: immich-app/devtools/actions/use-mise@cd24790a7f5f6439ac32cc94f5523cb2de8bfa8c # use-mise-action-v1.1.0 with: - registry-token: ${{ secrets.CRATES_IO_PUBLISH_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Publish + run: mise publish --workspace diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index c65d03f3..08e210a3 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -26,43 +26,33 @@ jobs: # run: | # sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc - - name: Install latest stable - uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # v1 + - name: Setup Mise + uses: immich-app/devtools/actions/use-mise@cd24790a7f5f6439ac32cc94f5523cb2de8bfa8c # use-mise-action-v1.1.0 with: - toolchain: stable - components: rustfmt, clippy - - - name: Install cargo-nextest - uses: taiki-e/install-action@a58ae9526b2c3acee9ad8e1926b950b7863305d4 # 2.65.16 - with: - tool: cargo-nextest@0.9.119 + github-token: ${{ secrets.GITHUB_TOKEN }} - - name: Run cargo build - run: cargo build - - - name: Run services in background - run: | - docker compose -f compose.yml up -d - - - name: Run cargo test + - run: mise build + - run: mise docker:start + + - name: Reference Test env: TEST_DB: REFERENCE run: | - cargo nextest run + mise test - - name: Run cargo test (with MongoDB) + - name: MongoDB Test env: TEST_DB: MONGODB MONGODB: mongodb://localhost run: | - cargo nextest run + mise test - name: Start API in background if: github.event_name != 'pull_request' && github.ref_name == 'main' env: TEST_DB: REFERENCE run: | - cargo build --bin revolt-delta && (cargo run --bin revolt-delta &) + mise build --bin revolt-delta && (mise service:api &) - name: Wait for API to go up if: github.event_name != 'pull_request' && github.ref_name == 'main' diff --git a/.mise/config.toml b/.mise/config.toml new file mode 100644 index 00000000..1d6ad18d --- /dev/null +++ b/.mise/config.toml @@ -0,0 +1,17 @@ +[tools] +node = "25.4.0" +pnpm = "10.28.1" + +gh = "2.25.0" + +rust = "1.92.0" +"cargo:cargo-nextest" = "0.9.122" + +[settings] +experimental = true +idiomatic_version_file_enable_tools = ["rust"] + +[tasks.start] +description = "Run all services" +depends = ["docker:start", "build"] +run = [{ task = "service:*" }] diff --git a/.mise/tasks/build b/.mise/tasks/build new file mode 100755 index 00000000..c97c28d8 --- /dev/null +++ b/.mise/tasks/build @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Build project" +set -e + +cargo build "$@" diff --git a/.mise/tasks/check b/.mise/tasks/check new file mode 100755 index 00000000..116f1016 --- /dev/null +++ b/.mise/tasks/check @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Check project with clippy" +set -e + +cargo clippy diff --git a/.mise/tasks/docker/start b/.mise/tasks/docker/start new file mode 100755 index 00000000..cfcb0a9a --- /dev/null +++ b/.mise/tasks/docker/start @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Start Docker containers" +set -e + +docker compose up -d diff --git a/.mise/tasks/docker/stop b/.mise/tasks/docker/stop new file mode 100755 index 00000000..51d39d61 --- /dev/null +++ b/.mise/tasks/docker/stop @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Stop Docker containers" +set -e + +docker compose down diff --git a/.mise/tasks/docs/_default b/.mise/tasks/docs/_default new file mode 100755 index 00000000..742d586f --- /dev/null +++ b/.mise/tasks/docs/_default @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +#MISE description="Start the Stoat Developers website" +#MISE depends=["docs:install"] +#MISE dir="{{config_root}}/docs" +set -e + +pnpm build diff --git a/.mise/tasks/docs/build b/.mise/tasks/docs/build new file mode 100755 index 00000000..ae3cdb65 --- /dev/null +++ b/.mise/tasks/docs/build @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +#MISE description="Build the Stoat Developers website" +#MISE depends=["docs:install"] +#MISE dir="{{config_root}}/docs" +set -e + +pnpm build diff --git a/.mise/tasks/docs/install b/.mise/tasks/docs/install new file mode 100755 index 00000000..753779c1 --- /dev/null +++ b/.mise/tasks/docs/install @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +#MISE description="Install dependencies for docs site" +#MISE dir="{{config_root}}/docs" +set -e + +pnpm i --frozen-lockfile diff --git a/.mise/tasks/publish b/.mise/tasks/publish new file mode 100755 index 00000000..27df8f9a --- /dev/null +++ b/.mise/tasks/publish @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Publish project" +set -e + +cargo publish "$@" diff --git a/.mise/tasks/service/api b/.mise/tasks/service/api new file mode 100755 index 00000000..07915c17 --- /dev/null +++ b/.mise/tasks/service/api @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run API server" +set -e + +cargo run --bin revolt-delta diff --git a/.mise/tasks/service/crond b/.mise/tasks/service/crond new file mode 100755 index 00000000..ce4bc491 --- /dev/null +++ b/.mise/tasks/service/crond @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run cron daemon" +set -e + +cargo run --bin revolt-crond diff --git a/.mise/tasks/service/events b/.mise/tasks/service/events new file mode 100755 index 00000000..85bea49a --- /dev/null +++ b/.mise/tasks/service/events @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run events server" +set -e + +cargo run --bin revolt-bonfire diff --git a/.mise/tasks/service/files b/.mise/tasks/service/files new file mode 100755 index 00000000..431c5a52 --- /dev/null +++ b/.mise/tasks/service/files @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run file server" +set -e + +cargo run --bin revolt-autumn diff --git a/.mise/tasks/service/gifbox b/.mise/tasks/service/gifbox new file mode 100755 index 00000000..bc72192b --- /dev/null +++ b/.mise/tasks/service/gifbox @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run GIF proxy server" +set -e + +cargo run --bin revolt-gifbox diff --git a/.mise/tasks/service/proxy b/.mise/tasks/service/proxy new file mode 100755 index 00000000..a16634fc --- /dev/null +++ b/.mise/tasks/service/proxy @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run proxy server" +set -e + +cargo run --bin revolt-january diff --git a/.mise/tasks/service/pushd b/.mise/tasks/service/pushd new file mode 100755 index 00000000..1cbb96ba --- /dev/null +++ b/.mise/tasks/service/pushd @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run push daemon" +set -e + +cargo run --bin revolt-pushd diff --git a/.mise/tasks/test b/.mise/tasks/test new file mode 100755 index 00000000..9f59fb4c --- /dev/null +++ b/.mise/tasks/test @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Test project" +set -e + +cargo nextest run diff --git a/README.md b/README.md index f5f45270..05baca7e 100644 --- a/README.md +++ b/README.md @@ -43,13 +43,13 @@ Before contributing, make yourself familiar with [our contribution guidelines](h Before getting started, you'll want to install: -- Rust toolchain (rustup recommended) +- mise - Docker - Git - mold (optional, faster compilation) > A **default.nix** is available for Nix users! -> Just run `nix-shell` and continue. +> Run `nix-shell` to activate mise. As a heads-up, the development environment uses the following ports: @@ -72,7 +72,7 @@ Now you can clone and build the project: ```bash git clone https://github.com/revoltchat/backend revolt-backend cd revolt-backend -cargo build +mise build ``` A default configuration `Revolt.toml` is present in this project that is suited for development. diff --git a/compose.yml b/compose.yml index 4ea6d9bc..e1e84b6f 100644 --- a/compose.yml +++ b/compose.yml @@ -12,6 +12,10 @@ services: - "27017:27017" volumes: - ./.data/db:/data/db + ulimits: + nofile: + soft: 65536 + hard: 65536 # MinIO minio: diff --git a/crates/core/coalesced/Cargo.toml b/crates/core/coalesced/Cargo.toml index f267999b..aac2b95b 100644 --- a/crates/core/coalesced/Cargo.toml +++ b/crates/core/coalesced/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "MIT" authors = ["Paul Makles ", "Zomatree "] description = "Revolt Backend: Coalescion service" +repository = "https://github.com/stoatchat/stoatchat" [features] tokio = ["dep:tokio"] @@ -19,4 +20,9 @@ indexmap = { version = "2.13.0", optional = true } lru = { version = "0.16.3", optional = true } [dev-dependencies] -tokio = { version = "1.47.0", features = ["rt", "rt-multi-thread", "macros", "time"] } +tokio = { version = "1.47.0", features = [ + "rt", + "rt-multi-thread", + "macros", + "time", +] } diff --git a/crates/core/config/Cargo.toml b/crates/core/config/Cargo.toml index 986f78a3..e91ce5e0 100644 --- a/crates/core/config/Cargo.toml +++ b/crates/core/config/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "MIT" authors = ["Paul Makles "] description = "Revolt Backend: Configuration" +repository = "https://github.com/stoatchat/stoatchat" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/core/database/Cargo.toml b/crates/core/database/Cargo.toml index 593e906a..979d4a5d 100644 --- a/crates/core/database/Cargo.toml +++ b/crates/core/database/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "AGPL-3.0-or-later" authors = ["Paul Makles "] description = "Revolt Backend: Database Implementation" +repository = "https://github.com/stoatchat/stoatchat" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -15,8 +16,14 @@ mongodb = ["dep:mongodb", "bson", "authifier/database-mongodb"] # ... Other tasks = ["isahc", "linkify", "url-escape"] async-std-runtime = ["async-std", "authifier/async-std-runtime"] -rocket-impl = ["rocket", "schemars", "revolt_okapi", "revolt_rocket_okapi", "authifier/rocket_impl"] -axum-impl = ["axum"] +rocket-impl = [ + "rocket", + "schemars", + "revolt_okapi", + "revolt_rocket_okapi", + "authifier/rocket_impl", +] +axum-impl = ["axum", "revolt-result/axum"] redis-is-patched = ["revolt-presence/redis-is-patched"] voice = ["livekit-api", "livekit-protocol", "livekit-runtime"] @@ -99,6 +106,6 @@ authifier = { version = "1.0.15" } amqprs = { version = "1.7.0" } # Voice -livekit-api = { version = "0.4.4", optional = true} +livekit-api = { version = "0.4.4", optional = true } livekit-protocol = { version = "0.4.0", optional = true } livekit-runtime = { version = "0.3.1", features = ["tokio"], optional = true } diff --git a/crates/core/files/Cargo.toml b/crates/core/files/Cargo.toml index ad5f1768..f807345d 100644 --- a/crates/core/files/Cargo.toml +++ b/crates/core/files/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "AGPL-3.0-or-later" authors = ["Paul Makles "] description = "Revolt Backend: S3 and encryption subroutines" +repository = "https://github.com/stoatchat/stoatchat" [dependencies] tracing = "0.1" diff --git a/crates/core/models/Cargo.toml b/crates/core/models/Cargo.toml index 77721a14..d5111c11 100644 --- a/crates/core/models/Cargo.toml +++ b/crates/core/models/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "MIT" authors = ["Paul Makles "] description = "Revolt Backend: API Models" +repository = "https://github.com/stoatchat/stoatchat" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/core/parser/Cargo.toml b/crates/core/parser/Cargo.toml index 8f287a59..ba9d2255 100644 --- a/crates/core/parser/Cargo.toml +++ b/crates/core/parser/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "MIT" authors = ["Zomatree ", "Paul Makles "] description = "Revolt Backend: Message Parser" +repository = "https://github.com/stoatchat/stoatchat" [dependencies] logos = { version = "0.15" } diff --git a/crates/core/permissions/Cargo.toml b/crates/core/permissions/Cargo.toml index fb0cf0e8..86ac095d 100644 --- a/crates/core/permissions/Cargo.toml +++ b/crates/core/permissions/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "MIT" authors = ["Paul Makles "] description = "Revolt Backend: Permission Logic" +repository = "https://github.com/stoatchat/stoatchat" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/core/presence/Cargo.toml b/crates/core/presence/Cargo.toml index de443e3f..cdbcd590 100644 --- a/crates/core/presence/Cargo.toml +++ b/crates/core/presence/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "AGPL-3.0-or-later" authors = ["Paul Makles "] description = "Revolt Backend: User Presence" +repository = "https://github.com/stoatchat/stoatchat" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/core/ratelimits/Cargo.toml b/crates/core/ratelimits/Cargo.toml index da0aad74..3447c48c 100644 --- a/crates/core/ratelimits/Cargo.toml +++ b/crates/core/ratelimits/Cargo.toml @@ -2,15 +2,23 @@ name = "revolt-ratelimits" version = "0.9.4" edition = "2024" +license = "MIT" +authors = ["Zomatree ", "Paul Makles "] +description = "Revolt Backend: Ratelimit Handler" +repository = "https://github.com/stoatchat/stoatchat" [features] -rocket = ["dep:rocket", "dep:revolt_rocket_okapi", "revolt-database/rocket-impl"] +rocket = [ + "dep:rocket", + "dep:revolt_rocket_okapi", + "revolt-database/rocket-impl", +] axum = ["dep:axum", "revolt-database/axum-impl"] default = ["rocket", "axum"] [dependencies] -revolt-database = { version = "0.9.4", path = "../database"} +revolt-database = { version = "0.9.4", path = "../database" } revolt-result = { version = "0.9.4", path = "../result" } revolt-config = { version = "0.9.4", path = "../config" } diff --git a/crates/core/result/Cargo.toml b/crates/core/result/Cargo.toml index 66c6132a..d87a7d1b 100644 --- a/crates/core/result/Cargo.toml +++ b/crates/core/result/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" license = "MIT" authors = ["Paul Makles "] description = "Revolt Backend: Result and Error types" +repository = "https://github.com/stoatchat/stoatchat" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -38,4 +39,4 @@ log = "0.4" # Axum axum = { version = "0.7.5", optional = true } -sentry = { version = "0.31.5", optional = true } \ No newline at end of file +sentry = { version = "0.31.5", optional = true } diff --git a/crates/delta/src/routes/channels/message_unpin.rs b/crates/delta/src/routes/channels/message_unpin.rs index 3770606d..42184895 100644 --- a/crates/delta/src/routes/channels/message_unpin.rs +++ b/crates/delta/src/routes/channels/message_unpin.rs @@ -1,4 +1,7 @@ -use revolt_database::{util::{permissions::DatabasePermissionQuery, reference::Reference}, Channel, Database, FieldsMessage, PartialMessage, SystemMessage, User, AMQP}; +use revolt_database::{ + util::{permissions::DatabasePermissionQuery, reference::Reference}, + Channel, Database, FieldsMessage, PartialMessage, SystemMessage, User, AMQP, +}; use revolt_models::v0::MessageAuthor; use revolt_permissions::{calculate_channel_permissions, ChannelPermission}; use revolt_result::{create_error, Result}; diff --git a/default.nix b/default.nix index 06d2e319..68fb5384 100644 --- a/default.nix +++ b/default.nix @@ -1,28 +1,41 @@ -{ - pkgs ? import { }, +{ pkgs ? import (fetchTarball { + url = "https://github.com/NixOS/nixpkgs/archive/77ef7a29d276c6d8303aece3444d61118ef71ac2.tar.gz"; + sha256 = "0pm4l48jq8plzrrrisimahxqlcpx7qqq9c99hylmf7p3zlc3phsy"; + }) {}, }: -pkgs.mkShell rec { - buildInputs = [ - # Tools - pkgs.git - pkgs.just +let + nix-ld-libs = pkgs.buildEnv { + name = "nix-ld-libs"; + paths = with pkgs; [ + stdenv.cc.cc.lib + zlib + openssl.out + ]; + pathsToLink = [ "/lib" ]; + }; - # Cargo - pkgs.cargo - pkgs.cargo-nextest - pkgs.cargo-release - - # Rust - pkgs.rustc - pkgs.clippy - pkgs.rustfmt - pkgs.pkg-config - pkgs.openssl.dev - - # mdbook - pkgs.mdbook +in pkgs.mkShell { + packages = with pkgs; [ + mise + cargo-binstall + (writeShellScriptBin "fish" '' + exec ${pkgs.fish}/bin/fish -C 'mise activate fish | source' "$@" + '') ]; - RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; -} + buildInputs = with pkgs; [ + pkg-config + openssl.dev + ]; + + shellHook = '' + export TMPDIR=/tmp + export NIX_LD="${pkgs.stdenv.cc.libc}/lib/ld-linux-x86-64.so.2" + export NIX_LD_LIBRARY_PATH="${nix-ld-libs}/lib" + export LD_LIBRARY_PATH="${nix-ld-libs}/lib''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" + + export MISE_NODE_COMPILE=false + eval "$(mise activate bash)" + ''; +} \ No newline at end of file diff --git a/scripts/start.sh b/scripts/start.sh deleted file mode 100755 index ef485d22..00000000 --- a/scripts/start.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -set -e -cargo build \ - --bin revolt-delta \ - --bin revolt-bonfire \ - --bin revolt-autumn \ - --bin revolt-january \ - --bin revolt-gifbox - -trap 'pkill -f revolt-' SIGINT -cargo run --bin revolt-delta & -cargo run --bin revolt-bonfire & -cargo run --bin revolt-autumn & -cargo run --bin revolt-january & -cargo run --bin revolt-gifbox