Skip to content

clib-uninstall should remove the folder from deps if there's no rule to make uninstall #247

Open
@catb0t

Description

@catb0t
$ ls deps 
.  ..  fnv-hash  yacbnl

$ DEBUG=clib clib uninstall catb0t/yacbnl
 clib : args: catb0t/yacbnl
 clib : command 'uninstall'
 clib : exec: /usr/local/bin/clib-uninstall catb0t/yacbnl
       fetch : https://github.com/catb0t/yacbnl/archive/master.tar.gz
       untar : /tmp/yacbnl-master.tar.gz
     warning : No uninstall target specified.  Defaulting to 'make uninstall'.
make: *** No rule to make target 'uninstall'.  Stop.
 clib : returned 0

in my opinion, clib-uninstall should work to remove deps from the current directory, if make uninstall didn't work because the package wasn't installed like make install.

what do you think about this addition? or should there be a separate plugin, clib-remove?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions