In this test we test the translation of an opam package with only an install step.

  $ 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 ${default_lock_dir}/install-no-build.0.0.1.pkg 
  (version 0.0.1)
  
  (install
   (all_platforms
    (run echo "just installing")))

Building should only do the install step.

  $ build_pkg install-no-build 
  just installing
