-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
37 lines (26 loc) · 814 Bytes
/
Copy pathJustfile
File metadata and controls
37 lines (26 loc) · 814 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
# SPDX-License-Identifier: MPL-2.0
# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
#
# OikosBot project automation
haskell_dir := "analyzers/code-haskell"
all: check
check: rust-build rust-test haskell-build haskell-test
# Rust analysis workspace. The default workspace excludes crates/oikosbot-fleet
# (the optional gitbot-fleet bridge) so OikosBot builds standalone.
rust-build:
cargo build --workspace
rust-test:
cargo test --workspace
rust-fmt-check:
cargo fmt --check
haskell-build:
cd {{ haskell_dir }} && cabal build all
haskell-test:
cd {{ haskell_dir }} && cabal test all
affine-check:
./bot-integration-affine/check.sh
shell-check:
bash -n bot-integration-affine/check.sh
clean:
cargo clean
cd {{ haskell_dir }} && cabal clean