コード例 #1
0
        public string GetArguments()
        {
            ScriptingCommandLineBuilder commandLine = new ScriptingCommandLineBuilder();

            AddArguments(commandLine);
            return(commandLine.ToString());
        }
コード例 #2
0
		protected override void AddArguments(ScriptingCommandLineBuilder commandLine)
		{
			commandLine.AppendOption("--disable-gems");
			commandLine.AppendBooleanOptionIfTrue("-D", Debug);
			AppendLoadPaths(commandLine);
			commandLine.AppendQuotedStringIfNotEmpty(ScriptFileName);
			commandLine.AppendStringIfNotEmpty(ScriptCommandLineArguments);
		}
コード例 #3
0
		void AppendLoadPaths(ScriptingCommandLineBuilder commandLine)
		{
			foreach (string path in loadPaths) {
				commandLine.AppendQuotedString("-I" + path);
			}
		}
コード例 #4
0
		protected virtual void AddArguments(ScriptingCommandLineBuilder commandLine)
		{
		}
コード例 #5
0
		public string GetArguments()
		{
			ScriptingCommandLineBuilder commandLine = new ScriptingCommandLineBuilder();
			AddArguments(commandLine);
			return commandLine.ToString();
		}
コード例 #6
0
		protected override void AddArguments(ScriptingCommandLineBuilder commandLine)
		{
			commandLine.AppendBooleanOptionIfTrue("-X:Debug", Debug);
			commandLine.AppendQuotedStringIfNotEmpty(ScriptFileName);
			commandLine.AppendStringIfNotEmpty(ScriptCommandLineArguments);
		}
コード例 #7
0
 protected virtual void AddArguments(ScriptingCommandLineBuilder commandLine)
 {
 }