Guys,

I just published version 0.16.0.1 of sinan. This has provisional support  
for build hooks. Build hooks are just a way for you to do things outside of  
sinan in the context of a build.

If you don't have _hooks directory then nothing different will happen.

If you want to use build hooks create a directory in your project  
called "_hooks". Sinan supports pre and post hooks. So just put an  
executable file in that directory named after when you want to run a hook.  
For example, If I want to run a hook just before the build I would create  
an executable file at.

_hooks/pre_build

If I wanted to do one post depends I would create one called

_hooks/post_depends

All the information that sinan knows about the build currently is passed in  
as environment variables. There are a ton of them, you may want to write a  
simple script that just prints them out to find out what they are. Right  
now they aren't in a super great format. I am open to suggestions on how to  
format them in a more usable way.

Once things stabilize I will put together some documentation on all the  
information thats available.

This is a very new feature so expect issues. That said I am looking forward  
to your feedback.

Thanks,
Eric

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlware-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/erlware-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to