You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-25Lines changed: 1 addition & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,18 +133,7 @@ The C API header will be at `./result/include/lgx.h`.
133
133
134
134
#### Running Tests with Nix
135
135
136
-
After building with `nix build '.'` or `nix build '.#all'`, run the tests:
137
-
138
-
```bash
139
-
# Run core tests (including CLI integration tests)
140
-
export LGX_BINARY="$(pwd)/result/bin/lgx"
141
-
./result/bin/lgx_tests
142
-
143
-
# Run library API tests
144
-
./result/bin/lgx_lib_tests
145
-
```
146
-
147
-
**Note:** The `LGX_BINARY` environment variable tells the CLI tests where to find the `lgx` binary. Without it, the CLI integration tests will be skipped (though all other tests will still run).
136
+
Tests run automatically during `nix build`. The build will fail if any tests do not pass.
148
137
149
138
**Note:** If you haven't enabled flakes, you'll need to add the experimental features flag:
|`icon`| string | Relative path to icon file bundled in the package | Display/branding |
85
87
|`dependencies`| array | List of dependency strings | Runtime needs |
86
88
|`main`| object | Map of variant name → relative path to entry point (e.g ) `"linux-amd64": "path/to/main.so"` means `linux-amd64/path/to/main.so`| Entry point resolution |
0 commit comments