blob: cc1a4ffecb106bbe2030b0680cec984eedffd1dd (
plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Fixgen - 0 dependency language independent fixture generator
This tool allows you to very easily generate fixtures.
## Development - Prerequisites
- [Nix](https://nixos.org/manual/nix/stable/installation/installing-binary)
- [Direnv](https://direnv.net/docs/installation.html)
After installation, you will need to run direnv allow
```
direnv allow
```
For it to work.
### VSCode
You'll need OCaml platform and direnv extension. Once you have those, you will need to start the project from the terminal. First, ensure you have setup code terminal command:
https://code.visualstudio.com/docs/setup/mac
Once in place, cd to the project and run
```
code .
```
And VSCode should launch correctly with LSP installed.
### Running development
```
./scripts/run-watch.sh
```
Run tests
```
./scripts/run-test-watch.sh
```
You can also run them manually:
```
dune runtests
```
### Building
```
dune build
```
|