This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue