this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add tasks for running relmserver and fmt

+37 -6
+37 -6
mise.toml
··· 1 1 [tools] 2 + biome = "latest" 2 3 bun = "1.2.14" 3 4 erlang = "27" 4 5 gleam = "1.11.0" 6 + marksman = "latest" 7 + rust-analyzer = "latest" 8 + taplo = "latest" 5 9 watchexec = "latest" 10 + 6 11 [settings] 7 12 [settings.npm] 8 13 bun = true 9 14 15 + [tasks.optimised-development-run] 16 + depends = "build-client" 17 + run = "cargo run --release" 18 + dir = "{{cwd}}" 19 + 20 + [tasks.format] 21 + depends = ["format-server", "format-client", "format-metafiles"] 22 + run = [] 23 + 24 + [tasks.format-server] 25 + hide = true 26 + run = "cargo fmt" 27 + dir = "./server" 28 + 29 + [tasks.format-client] 30 + hide = true 31 + run = "gleam format" 32 + dir = "./client" 33 + 34 + [tasks.format-metafiles] 35 + hide = true 36 + run = ["biome format --write --vcs-enabled=true", "taplo fmt"] 37 + 10 38 [tasks.development-run] 11 39 depends = "build-client" 12 40 run = "cargo run" 13 41 dir = "{{cwd}}" 42 + 14 43 [tasks.build-client] 15 44 run = [ 16 - "gleam build --target javascript", 17 - """ 45 + "gleam build --target javascript", 46 + """ 18 47 echo 'import { main } from "./lumina_client.mjs";document.addEventListener("DOMContentLoaded", main())' > "./build/dev/javascript/lumina_client/lumina_client.ts" 19 48 """, 20 - "bun build \"./build/dev/javascript/lumina_client/lumina_client.ts\" --minify --outfile ./priv/static/lumina_client.min.mjs --target=browser", 49 + "bun build \"./build/dev/javascript/lumina_client/lumina_client.ts\" --minify --outfile ./priv/static/lumina_client.min.mjs --target=browser", 21 50 ] 22 51 depends = "build-styles" 23 52 dir = "./client/" 53 + 24 54 [tasks.build-styles] 25 55 run = [ 26 - "bun i", 27 - "bun x @tailwindcss/cli -i ./app.css -o ./priv/static/lumina_client.css", 56 + "bun i", 57 + "bun x @tailwindcss/cli -i ./app.css -o ./priv/static/lumina_client.css", 28 58 ] 29 59 dir = "./client/" 60 + 30 61 [tasks.build-server] 31 62 depends = ["build-client"] 32 - run = ["cargo build --release"] 63 + run = ["cargo build"]