This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,27 @@
|
|||
In this test we test the translation of an opam package with only an install step.
|
||||
|
||||
$ . ./helpers.sh
|
||||
$ mkrepo
|
||||
|
||||
Make a package with only an install step
|
||||
$ mkpkg install-no-build <<EOF
|
||||
> install: ["echo" "just installing"]
|
||||
> EOF
|
||||
|
||||
$ mkdir -p $mock_packages/install-no-build/install-no-build.0.0.1/
|
||||
|
||||
$ solve install-no-build
|
||||
Solution for dune.lock:
|
||||
- install-no-build.0.0.1
|
||||
The lockfile should only contain an install step.
|
||||
|
||||
$ cat dune.lock/install-no-build.pkg
|
||||
(version 0.0.1)
|
||||
|
||||
(install
|
||||
(run echo "just installing"))
|
||||
|
||||
Building should only do the install step.
|
||||
|
||||
$ build_pkg install-no-build
|
||||
just installing
|
||||
Loading…
Add table
Add a link
Reference in a new issue