Ejemplo n.º 1
0
        private void MigrateCallback(object sender, EventArgs e)
        {
            OutputPane pane = package.TrufflePane;

            pane.Clear();
            pane.AddLine("Migrating...");
            pane.RunTruffleCommand("migrate --reset", () =>
            {
                pane.AddLine("Done.");
            });
        }
Ejemplo n.º 2
0
        private void TestCallback(object sender, EventArgs e)
        {
            OutputPane pane = package.TrufflePane;

            pane.Clear();
            pane.AddLine("Running tests...");
            pane.RunTruffleCommand("test", () =>
            {
                pane.AddLine("Done.");
            });
        }
Ejemplo n.º 3
0
        private void CompileCallback(object sender, EventArgs e)
        {
            OutputPane pane = package.TrufflePane;

            pane.Clear();
            pane.AddLine("Compiling...");
            pane.RunTruffleCommand("compile --all", () =>
            {
                pane.AddLine("Done.");
            });
        }
Ejemplo n.º 4
0
        private void InitializeProjectCallback(object sender, EventArgs e)
        {
            OutputPane pane = package.TrufflePane;

            pane.Clear();
            pane.AddLine("Initializing project...");
            pane.RunTruffleCommand("init", () =>
            {
                pane.AddLine("Done");
                this.package.RecheckEnvironment();
            });
        }