mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/subst/without-repo.t
2025-11-11 02:07:51 +01:00

29 lines
455 B
Raku

Demonstrate $ dune subst without a git repository
$ cat > dune-project << EOF
> (lang dune 3.17)
> (name test)
> EOF
$ echo "dune" > README.md
$ dune subst
$ cat README.md
test
dune subst should take the project version from the dune-project file when
there is no vcs
$ cat > dune-project << EOF
> (lang dune 3.19)
> (name test)
> (version 0.1)
> EOF
$ echo "3.20.2" > README.md
$ dune subst
$ cat README.md
0.1