A Giter8 template for Stainless-enabled projects!
- sbt >= 0.13.1 or sbt 1.2.x
-
Create a new project from the command line with:
$ sbt new epfl-lara/stainless-project.g8
-
Put you verified code within the
verified
project, and your regular Scala code within thecore
project. -
Launch sbt at the root of the project:
$ sbt
-
Run the application, while also verifying your code:
> core/run
-
Alternatively you can just compile and verify your code with:
> verified/compile
You can configure Stainless by editing the stainless.conf
file at the root of the project.
See the online documentation for available options.
Written in 2019 by Romain Ruetschi romain.ruetschi@epfl.ch, EPFL-LARA.
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.