|
||
|
|
|
Compass Version 1.3
Changing the SVN Build Plan To Use A Custom ScriptNow that we have a custom script to perform a preprocess step before we build, we can add it to our build plan. The first thing we need to do, is to insert our new script into a build step between our existing two build steps. This is how the build plan looks after doing that:
As you can see, we pass the version string 'version1.2' as an argument to the script. The other important part of this script is that it must be run from the directory where the script lives. We know that the script is in the 'root/scripts' directory, so we open up the details dialog by clicking on the magnifying glass icon and set the 'Run in' directory to 'scripts' like this:
Now that the script will run in the correct directory we are done, we click Save and our build plan is complete. |






