Re: [Pharo-dev] Add download+uncompress behavior to Metacello?

2016-04-20 Thread Hernán Morales Durand
Hi, I checked Metacello configurations but I don't know where to add such methods. One option is to add them to Object but I don't like to add methods there. I guess Metacello uses "template methods" somewhere but this download+uncompress feature is not something used by all projects. Where do yo

Re: [Pharo-dev] Add download+uncompress behavior to Metacello?

2016-04-19 Thread stepharo
packaged them first :) Stef Le 19/4/16 15:14, Hernán Morales Durand a écrit : Is there a chance to get this methods (or any better versions of them) added to Metacello? >>extractZip: fileRef in: dst " If fileRef is a ZIP archive, uncompress its contents in dst and delete it " | z

[Pharo-dev] Add download+uncompress behavior to Metacello?

2016-04-19 Thread Hernán Morales Durand
Is there a chance to get this methods (or any better versions of them) added to Metacello? >>extractZip: fileRef in: dst " If fileRef is a ZIP archive, uncompress its contents in dst and delete it " | zipArchive | (fileRef fullName endsWith: '.zip') ifFalse: [ ^ self ]. zi