What's your deployment script like?

Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
Post Reply
Frug
Registered User
Posts: 57
Joined: Thu Jul 02, 2009 3:33 am

What's your deployment script like?

Post by Frug » Fri Aug 15, 2014 2:07 am

Using composer to create a vendor folder and then packaging your project for the public would leave some cruft like test folders and docs in there. It looks like some of these files are absent from your downloads (though twig has a Test folder).

I assume you run a deployment script to cleanup after your composer install? What's it look like?

Frug
Registered User
Posts: 57
Joined: Thu Jul 02, 2009 3:33 am

Re: What's your deployment script like?

Post by Frug » Fri Aug 15, 2014 3:31 am

Oh. Derp. You have your build.xml in a build folder.

I see you're using phing target clean-vendor-dir to clean that. I do wish composer had an install flag to exclude those files.

Looks like twig moved things into a Lib folder and you should update <delete dir="${dir}/vendor/twig/twig/test" /> to target it. :|

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1831
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: What's your deployment script like?

Post by DavidIQ » Fri Aug 15, 2014 12:29 pm

Should probably create a ticket for that so it doesn't get missed.
Image

Post Reply