Using Madbuild on a Specific Target

This forum is for all Flare issues not related to any of the other categories.
Post Reply
headphone_jack
Propeller Head
Posts: 16
Joined: Fri Dec 22, 2017 1:49 am

Using Madbuild on a Specific Target

Post by headphone_jack »

I'm trying to use madbuild to automate my building process. I've got the following:

Code: Select all

madbuild -project C:\Flare\SampleProject.flprj -target "target_subfolder\another_subfolder\sample_project_target"
Unfortunately I keep getting errors saying that the target file was not found.

Should the target be a complete path, contain the file extension, both?
Paulie
Sr. Propeller Head
Posts: 140
Joined: Sun Mar 01, 2015 3:01 pm

Re: Using Madbuild on a Specific Target

Post by Paulie »

Hi there,

Swap the backslashes with forward slashes, and add the target extension, and you should be up and running:

Code: Select all

madbuild -project C:/Flare/SampleProject.flprj -target "target_subfolder/another_subfolder/sample_project_target.fltar"
I assume that you could use back slashes for the absolute link. I'm not sure why we've formatted it that way in our scripts, but it does work in that format.
"In an ideal world, software should be simple, well designed, and completely intuitive to end users. In the real world, good documentation is king."
headphone_jack
Propeller Head
Posts: 16
Joined: Fri Dec 22, 2017 1:49 am

Re: Using Madbuild on a Specific Target

Post by headphone_jack »

Cheers Paulie, that did the trick! I find it a bit off that I can do backslashes \ for the project path, but not for the target path...
Post Reply