After I build, I must copy an HTML file to a different folder, so that I can use Git Bash to push that file into the build of our application.
It would be nice to automate this or have the html file go to the intended location. The rest of the project can't end up in the Git folder because it doesn't get pushed. (I don't need the rest of the project.)
Any ideas how to automate the movement of this one HTML file?
Build or publish a Flare output file to my Git Bash folder?
-
wclass
- Propellus Maximus
- Posts: 1238
- Joined: Mon Feb 27, 2006 5:56 am
- Location: Melbourne, Australia
Re: Build or publish a Flare output file to my Git Bash fold
Can you create another target that generates just that one file?
You can then set up a batch job that builds that target and then publishes it to the right place.
For more details about batch set up:
http://webhelp.madcapsoftware.com/flare ... Target.htm
You can then set up a batch job that builds that target and then publishes it to the right place.
For more details about batch set up:
http://webhelp.madcapsoftware.com/flare ... Target.htm
Margaret Hassall - Melbourne
Re: Build or publish a Flare output file to my Git Bash fold
Regarding this suggestion:
• Can you create another target that generates just that one file?
The answer to your question is:
• I don't know how. If you know, please tell me how.
I
looked in the Help toptic, but didn't see relevant instructions. It would be just like me to miss the obvious.
• Can you create another target that generates just that one file?
The answer to your question is:
• I don't know how. If you know, please tell me how.
I
-
wclass
- Propellus Maximus
- Posts: 1238
- Joined: Mon Feb 27, 2006 5:56 am
- Location: Melbourne, Australia
Re: Build or publish a Flare output file to my Git Bash fold
I'd create a TOC with just one file in it, then create a target that uses that TOC. And finally, create a destination that sents the file to where you want it. All can be created in the Project Organizer.
There is plenty of info in the help files:
Targets: http://webhelp.madcapsoftware.com/flare ... argets.htm
TOCs: http://webhelp.madcapsoftware.com/flare ... nually.htm
And for publishing, you need to set up a destination:
http://webhelp.madcapsoftware.com/flare ... ations.htm
There is plenty of info in the help files:
Targets: http://webhelp.madcapsoftware.com/flare ... argets.htm
TOCs: http://webhelp.madcapsoftware.com/flare ... nually.htm
And for publishing, you need to set up a destination:
http://webhelp.madcapsoftware.com/flare ... ations.htm
Margaret Hassall - Melbourne
Re: Build or publish a Flare output file to my Git Bash fold
That wouldn't just create one file in the output folder though, you'd still have loads of other files that you can't get rid of (in any of the web target types).
A very simple solution would be to write a batch (.bat) file; e.g. xcopy "c:\source\file.htm" "c:\destination"
A very simple solution would be to write a batch (.bat) file; e.g. xcopy "c:\source\file.htm" "c:\destination"