private static string GetFileBash(Project project, string result, ProjectFile file, string buildEach)
        {
            var parser = new BashScriptBlockParser(project, file);

            // Process this file so that any placeholder (such as FILEIN) will get handled.
            parser.Start(buildEach);
            return(result += Environment.NewLine + parser.Result);
        }
        /// <summary>
        /// Turns a block of bash (with %PLACEHOLDERS%) into inline arguments, ready to execute.
        /// </summary>
        /// <param name="commands">The commands to inline execute.</param>
        /// <returns></returns>
        private static string CreateCommandArguments(string commands, Project project)
        {
            // Process everything here with the BashScriptBlock, powered by ABParse.
            var parser = new BashScriptBlockParser(project);

            // Start it and return it.
            parser.Start(commands);
            return(parser.Result.Replace('\\', '/').Replace(" ;  ; ", " ; ").Replace(" ;  ; ", " ; ").TrimStart(' ', ';', ' '));
        }