temp test

pull/15/head
Miguel Mota 6 years ago
parent 362987c1d8
commit 4012a7504c

Binary file not shown.

@ -3,6 +3,7 @@ class Cointop < Formula
homepage "https://cointop.sh"
url "https://github.com/miguelmota/cointop/archive/1.0.0.tar.gz"
sha256 "8ff6988cd18b35dbf85436add19135a587e03702b43744f563f137bb067f6e04"
depends_on "go" => :build
def install
@ -15,6 +16,6 @@ class Cointop < Formula
end
test do
system "#{bin}/cointop" "-test"
system bin"/cointop", "-test"
end
end

@ -3,7 +3,6 @@ package main
import (
"flag"
"fmt"
"time"
"github.com/miguelmota/cointop/cointop"
)
@ -29,9 +28,6 @@ func main() {
}
func runTest() {
go func() {
cointop.Run()
}()
time.Sleep(1 * time.Second)
cointop.Exit()
// TODO
fmt.Println("ok")
}

Loading…
Cancel
Save