Skip to content

Commit

Permalink
fixes travis ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
gidsi committed Oct 24, 2017
1 parent 09b3c22 commit 256032b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"flag"
"fmt"
"os"
"io/ioutil"
validator "github.com/gidsi/go-spaceapi-validator"
"io/ioutil"
"os"
)

func init() {
Expand Down Expand Up @@ -41,4 +41,4 @@ func main() {

fmt.Println("file is valid")
os.Exit(0)
}
}
6 changes: 3 additions & 3 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

mkdir bin
mkdir ../bin

for R in \
darwin/386 \
Expand Down Expand Up @@ -28,11 +28,11 @@ for R in \

echo ${filename}

GOOS=${os} GOARCH=${arch} go build -o "bin/${filename}"
GOOS=${os} GOARCH=${arch} go build -o "../bin/${filename}"

done

cd "bin"
cd "../bin"
sha256sum spaceapi-validator-* > SHA256SUMS

echo "done"

0 comments on commit 256032b

Please sign in to comment.