some modules; it looks like it's
> > working but in reality it isn't. For example, but it's not limited to just
> > this module:
> >
> > $ zef list --installed|grep CBOR
> > ===> Found via /opt/rakudo-pkg/share/perl6/core
> > ===> Found vi
t. For example, but it's not limited to just
> this module:
> >
> > $ zef list --installed|grep CBOR
> > ===> Found via /opt/rakudo-pkg/share/perl6/core
> > ===> Found via /home/nando/.raku
> > CBOR::Simple:ver<0.1.1>:auth:api<0>
> > CBO
ist --installed|grep CBOR
> ===> Found via /opt/rakudo-pkg/share/perl6/core
> ===> Found via /home/nando/.raku
> CBOR::Simple:ver<0.1.1>:auth:api<0>
> CBOR::Simple:ver<0.1.2>:auth
>
> $ zef uninstall 'CBOR::Simple:ver<0.1.1>:auth:api<0>
via /home/nando/.raku
CBOR::Simple:ver<0.1.1>:auth:api<0>
CBOR::Simple:ver<0.1.2>:auth
$ zef uninstall 'CBOR::Simple:ver<0.1.1>:auth:api<0>'
===> Uninstalled from /home/nando/.raku
CBOR::Simple:ver<0.1.1>:auth:api<0>
$ zef list --installed|grep CBOR
>>> wrote:
>>>>
>>>> Hi Fernando, I'm not sure I understand. Is this for module
>>>> development? And you want to purge old versions of a module you're
>>>> developing, before doing a 'git push'?
>>
>>
>> I have
>> development? And you want to purge old versions of a module you're
>>> developing, before doing a 'git push'?
>>
>>
> I have never had a problem with:
>
> cd my-module
> zef install .
> zef uninstall My::Module
>
I was tryi
gt; developing, before doing a 'git push'?
>
>
I have never had a problem with:
cd my-module
zef install .
zef uninstall My::Module
-Tom
uninstall a
> module, i.e. an "anonymous" way to do it.
> >
> > The problem that I'm trying to solve is to automatically uninstall and
> reinstall a module before a "git push". In order to do this I'm using the
> git pre-push hook.
> > So far my
gt; zef install . --force-install
>
> but now I'm thinking that it's not enough and I'd like to uninstall the
> current module and then re-install it.
> To do that I need a way to uninstall an "anonymous" module, something along
> the lines of "zef uninstall .".
>
> Any idea?
>
> --
> Fernando Santagata
;m using the
git pre-push hook.
So far my pre-push script is just:
zef install . --force-install
but now I'm thinking that it's not enough and I'd like to uninstall the
current module and then re-install it.
To do that I need a way to uninstall an "anonymous" module, so
10 matches
Mail list logo