Build or publish a Flare output file to my Git Bash folder?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
JeromeR
Propeller Head
Posts: 64
Joined: Fri Mar 20, 2009 2:15 pm
Contact:

Build or publish a Flare output file to my Git Bash folder?

Post by JeromeR »

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?
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

Post by wclass »

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
Margaret Hassall - Melbourne
JeromeR
Propeller Head
Posts: 64
Joined: Fri Mar 20, 2009 2:15 pm
Contact:

Re: Build or publish a Flare output file to my Git Bash fold

Post by JeromeR »

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 :analyzer: looked in the Help toptic, but didn't see relevant instructions. It would be just like me to miss the obvious.
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

Post by wclass »

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
Margaret Hassall - Melbourne
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Build or publish a Flare output file to my Git Bash fold

Post by NorthEast »

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"
Post Reply