Exemplo n.º 1
0
 private void CustomCmdItemCallback(object sender, EventArgs e)
 {
     if (!String.IsNullOrEmpty(currentCmd) && !String.IsNullOrEmpty(currentCmdArgs))
     {
         CargoUtil.CallCargoProcess(workingDir => Cargo.Start(workingDir, currentCmdArgs), currentCmd + " " + currentCmdArgs);
     }
 }
Exemplo n.º 2
0
 private void ReleaseItemCallback(object sender, EventArgs e)
 {
     CargoUtil.CallCargoProcess(workingDir => Cargo.Release(workingDir), "release");
 }
Exemplo n.º 3
0
 private void BenchItemCallback(object sender, EventArgs e)
 {
     CargoUtil.CallCargoProcess(workingDir => Cargo.Bench(workingDir), "bench");
 }
Exemplo n.º 4
0
 private void TestItemCallback(object sender, EventArgs e)
 {
     CargoUtil.CallCargoProcess(workingDir => Cargo.Test(workingDir), "test");
 }
Exemplo n.º 5
0
 private void UpdateItemCallback(object sender, EventArgs e)
 {
     CargoUtil.CallCargoProcess(workingDir => Cargo.Update(workingDir), "update");
 }
Exemplo n.º 6
0
 private void BuildItemCallback(object sender, EventArgs e)
 {
     CargoUtil.CallCargoProcess(workingDir => Cargo.Build(workingDir), "build");
 }
Exemplo n.º 7
0
 /// <summary>
 /// This function is the callback used to execute a command when the a menu item is clicked.
 /// See the Initialize method to see how the menu item is associated to this function using
 /// the OleMenuCommandService service and the MenuCommand class.
 /// </summary>
 private void RunItemCallback(object sender, EventArgs e)
 {
     CargoUtil.CallCargoProcess(workingDir => Cargo.Run(workingDir), "run");
 }