Skip to content

Commit

Permalink
Add install target and mention IDE integration in README
Browse files Browse the repository at this point in the history
Ref. #243
  • Loading branch information
Alexander Senier authored and senier committed Jul 6, 2020
1 parent db73b0e commit 0470447
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ prove_spark: $(test-files)
prove_spark_cvc4: $(test-files)
gnatprove -P$(project) --prover=cvc4 --steps=200000 --timeout=120 --warnings=continue -u rflx-ipv4 -u rflx-ipv4-packet -u rflx-in_ipv4 -u rflx-in_ipv4-contains -u rflx-in_ipv4-tests $(GNATPROVE_ARGS)

install_gnatstudio:
install -m 644 ide/gnatstudio/recordflux.py ${HOME}/.gnatstudio/plug-ins/recordflux.py

clean:
gprclean -Ptest
gnatprove -Ptest --clean
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,12 @@ By default the following dependencies are installed:

Additionally, [GNAT Community 2020](https://www.adacore.com/download) is needed for compiling and verifying generated SPARK code.

Optionally, the GNAT Studio IDE integration for RecordFlux can be installed. It enables syntax highlighting for RecordFlux specifications and allows for running RecordFlux from within GNAT Studio. In the RecordFlux source directory do:

```Console
$ make install_gnatstudio
```

## Limitations

A list of known limitations for version 0.4.0 can be found [here](https://github.com/Componolit/RecordFlux/issues?q=is%3Aissue+label%3Alimitation+label%3Av0.4.0).
Expand Down

0 comments on commit 0470447

Please sign in to comment.