Issue:
How to add support to your FAKE build scripts.
Possible solutions:
Open your app’s Workflow Editor on bitrise.io and add a Script Step to your workflow.
Below you can find an example script content to perform a build with FAKE, make sure you FILL OUT THE PARAMETERS at the top of the script!
#!/bin/bashset-ex# Fill out these parameters:# You should use the same directory that you set in your build script for the FAKE dlloutput_directory=tools
fake_build_script=build.fsx
fake_target_name=fake_option_flags=# ---fake_exe="${output_directory}/FAKE/tools/fake.exe"if[!-f"${fake_exe}"];then
printf"\e[34mInstalling FAKE\e[0m\n"
nuget install FAKE -OutputDirectory"${output_directory}"-ExcludeVersion-NoCache-NonInteractiveficommand=("mono""${fake_exe}")if[-n"$fake_build_script"];then
command+=("${fake_build_script}")fiif[-n"$fake_target_name"];then
command+=("${fake_target_name}")fiif[-n"$fake_option_flags"];then
command+=("${fake_option_flags}")fiprintf"\e[34mExecuting ${fake_build_script}\e[0m\n"$(IFS=' ';echo"${command[*]}")Don’t forget!
You should update the
output_directoryandfake_build_scriptvariables for your needs and you are ready to go!You should set the
output_directoryto the same directory where your build script will search for the FAKE dlls.
