Skip to content
Ridgun
English

Ridgun

The language itself: a compiler that compiles itself, the stable project tool, the specification and the book

build.rg39 lines · 1016 bytesRaw
1-- ============================================================
2-- build.rg — Ridgun Project Build Definition for `stable`
3-- ============================================================
4
5fn :: project name => String
6 project name = "ridgunc"
7
8fn :: project kind => String
9 project kind = "bin"
10
11fn :: strict mode => Bool
12 strict mode = True
13
14fn :: project version => String
15 project version = "0.9.34"
16
17fn :: main entry => String
18 main entry = "src/main/ridgun/ridgunc/main.rg"
19
20fn :: source dir => String
21 source dir = "src/main/ridgun"
22
23fn :: test dir => String
24 test dir = "src/test/ridgun"
25
26fn :: target dir => String
27 target dir = "target"
28
29fn :: dependencies => [String]
30 dependencies = ["~/ridgun/libs"]
31
32fn :: task check all => String
33 task check all = "./bin/stable check"
34
35fn :: task verify docs => String
36 task verify docs = "aix docs validate"
37
38fn :: task acceptance => String
39 task acceptance = "./bin/ridgunc run tests/run.rg"