This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

a little useful pake task

Social code snippet repository

a little useful pake task

by al_n » Fri Feb 16, 2007 4:55 pm

while testing project distribution I found myself packaging the project over and over again.
So, I made this very simple Pake task that makes a tarball of the project without any subversion, eclipse, cache and log files.
For me it is very useful while making a distribution archive.
How to use:
symfony tar
(it will also freeze and unfreeze the project)
and you've got a projectname.tgz file of your distribution. (found one level higher then your project directory)
Attachments
sfPakeTar.php
(732 Bytes) Downloaded 808 times
User avatar
al_n
Faithful Member
 
Posts: 321
Joined: Fri May 26, 2006 11:45 pm
Location: The Netherlands

Re: a little useful pake task

by COil » Sat Feb 17, 2007 3:08 pm

Can be usefull indeed, thanks. :P
COil
Faithful Member
 
Posts: 467
Joined: Wed Sep 06, 2006 6:08 pm

Re: a little useful pake task

by al_n » Tue Feb 20, 2007 11:53 am

I've uploaded a better version
User avatar
al_n
Faithful Member
 
Posts: 321
Joined: Fri May 26, 2006 11:45 pm
Location: The Netherlands

Re: a little useful pake task

by kills » Thu Mar 01, 2007 2:24 pm

Hi,

why dont freeze and unfreeze your app within your tar-task?

Bye,
Markus
kills
Junior Member
 
Posts: 9
Joined: Mon Feb 05, 2007 7:23 pm

Re: a little useful pake task

by francois » Mon Mar 05, 2007 11:45 am

Why don't you post this to the snippets section?

http://www.symfony-project.com/snippets/
francois
Faithful Member
 
Posts: 1638
Joined: Sat Oct 22, 2005 4:56 pm

Re: a little useful pake task

by al_n » Wed Mar 07, 2007 9:58 am

kills wrote: Hi,

why dont freeze and unfreeze your app within your tar-task?

Bye,
Markus


Well, I've uploaded a new version which does just that. Now you only need to do 'symfony tar'
User avatar
al_n
Faithful Member
 
Posts: 321
Joined: Fri May 26, 2006 11:45 pm
Location: The Netherlands

Re: a little useful pake task

by kills » Wed Mar 21, 2007 10:26 am

did you upload your code to the snippet section? (the tags should include "task")
kills
Junior Member
 
Posts: 9
Joined: Mon Feb 05, 2007 7:23 pm

Re: a little useful pake task

by al_n » Thu May 10, 2007 10:39 pm

francois wrote: Why don't you post this to the snippets section?

http://www.symfony-project.com/snippets/

Even better,

I made a plugin:
http://trac.symfony-project.com/trac/wiki/sfTarBallPlugin
User avatar
al_n
Faithful Member
 
Posts: 321
Joined: Fri May 26, 2006 11:45 pm
Location: The Netherlands