public BootstrapTask(IUserInterface ui) { string appName = ui.Ask("What is the name of your new app?"); string partialAppPath = ui.Ask("Where should " + appName + " be stored?"); string fullAppPath = Dirs.CleanAndCombine(partialAppPath, appName); Settings = new AppSettings(fullAppPath); }
public CompileTask(string rootAppPath, bool enableDebugMode) { Settings = new AppSettings(rootAppPath); DebugMode = enableDebugMode; }