Exemple #1
0
        public override string[] GetModuleCommand(IIntermediateModule module, string[] sourceFiles, string[] resourceFiles, IIntermediateCompilerOptions options)
        {
            string target = options.Target;

            if (module != module.Project.RootModule)
            {
                target = string.Format("{0}.{1}.part", target.Substring(0, target.LastIndexOf('.')), module.Name);
            }
            return(Tweaks.MergeArrays <string>(new string[] { GetTypeCommand(module != module.Project.RootModule ? ProjectOutputType.Module : module.Project.OutputType, options), GetOutputCommand(target, options) }, GetSourcesCommand(sourceFiles, options)));
            //return string.Format("{0} {1} {2}", , string.Join(" ", ));
        }