I've created a batch file for using the command line method of building projects and thought the nice thing would be to share.
You'll probably want to change the log file location.
Feel free to use it as you wish, but there are no guarantees, use it at your own risk
Code: Select all
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Batch file to automate building Flare Outputs ::
:: Accepts Flare Project as parameter ::
:: Drag and drop project onto shortcut or batch file icon ::
:: ::
:: Created 16 Aug 2006 by Steve Salter ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@echo off
:: Set CLI window title
Title Building Project
:: Show user something happened
echo Building project outputs, please wait
:: Change to Flare directory
cd C:\\Program Files\\Madcap Software\\Madcap Flare\\Flare.app
:: Create log
echo Project building started > c:\\temp\\madbuild.txt
echo. | date | find /I \"Current\" >> c:\\temp\\madbuild.txt
echo. | time | find /I \"Current\" >> c:\\temp\\madbuild.txt
:: Build project(s)
madbuild -project %1 >> c:\\temp\\madbuild.txt
:: Add completion time to log
echo Project building completed >> c:\\temp\\madbuild.txt
echo. | time | find /I \"Current\" >> c:\\temp\\madbuild.txt