Browse Source

clean

pull/103/head
Unknown 12 years ago
parent
commit
b299989695
  1. 2
      conf/gopm.toml
  2. 38
      gopm_test.go

2
conf/gopm.toml

@ -1,7 +1,7 @@
# This is a configuration file for gpm with toml format.
title = "gpm(Go Package Manager)"
version = "v0.2.3 Build 0525"
version = "v0.2.4 Build 0525"
user_language = "en-US"
#user_language = "zh-CN"
auto_backup = true

38
gopm_test.go

@ -1,38 +0,0 @@
// Copyright (c) 2013 GPMGo Members. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package main
import (
"fmt"
"testing"
"time"
)
func TestGPM(t *testing.T) {
fmt.Println("gopm v0.2.2 Build 0524")
fmt.Println("\nBuilding gopm application...")
// Build application.
var args []string
args = append(args, "build")
executeCommand("go", args)
fmt.Println("\nStart testing command Install...")
fmt.Println("This package depends on `install_test2`.")
time.Sleep(2 * time.Second)
args = make([]string, 0)
args = append(args, "install")
args = append(args, "github.com/GPMGoTest/install_test")
executeCommand("gopm", args)
fmt.Println("\nStart testing command Remove...")
fmt.Println("Let's remove `install_test` and `install_test2`.")
time.Sleep(2 * time.Second)
args = make([]string, 0)
args = append(args, "remove")
args = append(args, "github.com/GPMGoTest/install_test")
args = append(args, "github.com/GPMGoTest/install_test2")
executeCommand("gopm", args)
}
Loading…
Cancel
Save