lix-pm / lix.client

A dependable package manager for your Haxe projects
The Unlicense
119 stars 24 forks source link

Clean command #14

Open kevinresol opened 7 years ago

kevinresol commented 7 years ago

I use lix to deploy to heroku but heroku only provides mechanism to ignore (remove) files at the very beginning of a build. As a result, my deployed container image includes all the downloaded haxe libraries. It would be nice if lix has a command to delete everything it that it has downloaded, which can be called after haxe compiles.

back2dos commented 7 years ago

I assume you'll want to delete the downloaded haxe as well then?

kevinresol commented 7 years ago

Yeah, but I don't mind having some switches to distinguish libs and the haxe binaries

back2dos commented 7 years ago

Well, I mean rm -rf ~/haxe will basically do the trick if the granularity of a Tsar Bomba will do for you ;)

kevinresol commented 7 years ago

Sure, if then maybe lix can provide some commands that returns the path to haxe or the downloaded libraries. That would ease the pain of figuring out the path by digging through docs and source codes :smile: