-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dafny run
should support project files
#4622
Labels
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
Comments
fzaiser
added
the
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
label
Oct 5, 2023
keyboardDrummer
added a commit
that referenced
this issue
Oct 11, 2023
Fixes #4622 ### Description - Enable passing project files to 'dafny run' - Add a hidden `--build` option to configure where intermediate build files are placed when using `dafny run` ### How has this been tested? Added a littish test <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
robin-aws
pushed a commit
to robin-aws/dafny
that referenced
this issue
Oct 11, 2023
Fixes dafny-lang#4622 ### Description - Enable passing project files to 'dafny run' - Add a hidden `--build` option to configure where intermediate build files are placed when using `dafny run` ### How has this been tested? Added a littish test <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
robin-aws
pushed a commit
to robin-aws/dafny
that referenced
this issue
Oct 13, 2023
Fixes dafny-lang#4622 ### Description - Enable passing project files to 'dafny run' - Add a hidden `--build` option to configure where intermediate build files are placed when using `dafny run` ### How has this been tested? Added a littish test <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
Summary
Most Dafny commands support project files (e.g.
dafny server
,dafny build
,dafny test
). For consistency,dafny run
should support it too.Background and Motivation
Using a project file has many advantages, such as not having to write
include
s. For VMC, we're using a project file and thus would like to get rid ofinclude
s. But we also want to usedafny run
in CI, which does not support project files:Solving this issue would be very helpful for us.
Proposed Feature
dafny run
should accept a*.toml
project file likedafny build
anddafny test
.Alternatives
No response
The text was updated successfully, but these errors were encountered: