-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
38 lines (29 loc) · 815 Bytes
/
justfile
File metadata and controls
38 lines (29 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
list:
just --list
build:
cargo build
build-juvycore:
just juvycore build
build-ios:
just juvycore build-ios
watch-api:
cargo watch -x 'run -p api'
install: install-rust install-typeshare
install-typeshare:
@echo "==> Installing Typeshare..."
cargo install typeshare-cli@1.13.4
install-rust:
#!/usr/bin/env bash
set -euo pipefail
if command -v rustup &>/dev/null; then
echo "Rust already installed ($(rustc --version))"
else
echo "==> Installing Rust..."
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo "==> Rust installed successfully"
echo "Run 'source ~/.cargo/env' or restart your terminal"
fi
services-up:
@echo "==> Starting docker"
docker compose up -d postgres
mod juvycore