ZigZig Forums  


::post new topic::
Running custom commands - 2008/03/06 02:06 A nice feature that you could add to ZigVersion would be the ability to execute a command/script before or after an operation. For example, I run php -l on all of my changed files as I'm coding and committing:

svn stat | grep 'php' | awk '{print "php -l " $2}' | sh

This could be placed into a little Bash script which I could then instruct ZigVersion to run before it allows a commit on a file or group of files. This for me would mean an end to silly parse errors because I forgot my trailing ;

Thanks!
  reply | quote

      Topics Author Date
    thread link
Running custom commands
Gavin Laking 2008/03/06 02:06
::post new topic::