Fix helper scripts for new top-level path

This commit is contained in:
Jakob Unterwurzacher 2015-10-11 18:36:07 +02:00
parent d1d444435c
commit b00fc379c4
4 changed files with 4 additions and 8 deletions

View File

@ -2,7 +2,5 @@
set -eux
cd gocryptfs_main
go build
go test -bench=.

View File

@ -12,7 +12,7 @@ import (
"testing"
)
const tmpDir = "../tmp/"
const tmpDir = "tmp/"
const plainDir = tmpDir + "plain/"
const cipherDir = tmpDir + "cipher/"
@ -21,7 +21,7 @@ func mount(extraArgs ...string) {
args = append(args, extraArgs...)
args = append(args, cipherDir)
args = append(args, plainDir)
c := exec.Command("../gocryptfs", args...)
c := exec.Command("./gocryptfs", args...)
c.Stdout = os.Stdout
c.Stderr = os.Stderr
err := c.Run()

View File

@ -3,6 +3,5 @@
set -eux
tag=$(git describe --tags)
cd gocryptfs_main
go build
tar czvf ../gocryptfs_$tag.tar.gz gocryptfs gocryptfs_main
tar czvf gocryptfs_$tag.tar.gz gocryptfs

View File

@ -2,10 +2,9 @@
set -eux
cd cryptfs
go build
go test
cd ../gocryptfs_main
cd cryptfs
go build
go test