typelead / etlas

Etlas, the build tool and package manager for the Eta programming language
63 stars 10 forks source link

etlas clean doesnt work in multipackage project layout #87

Closed jneira closed 5 years ago

jneira commented 5 years ago

Hi, if you have a layout like:

├───cabal.project (includes both packages with ./*/*.cabal)
├───dist
├───package1
│   ├───package1.cabal
│   └───src
└───package2
    ├───package2.cabal
    └───src

Running cabal clean in the top dir throw an error instead deleting dist:

>etlas clean
etlas: No config file found.
Please create a package description file etlas.dhall, <pkgname>.etlas or
<pkgname>.cabal

I guess clean doest have in account the new-build system.

rahulmutt commented 5 years ago

Yes, that's correct. We need to backport new-clean at some point.