Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Packaging fussing

  • Loading branch information...
commit 99ad30fea77f4351e934b28722d31598efe3522c 1 parent cc185ab
@paulhammond authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 { → pkg}/package.sh
View
8 package.sh → pkg/package.sh
@@ -13,12 +13,12 @@ VERSION=${1:-"dev"}
for DEST in linux-386 linux-amd64 darwin-amd64; do
OS=${DEST%-*}
ARCH=${DEST#*-}
- DIR=pkg/$DEST/jp-$VERSION
+ DIR=pkg/build/$DEST/jp-$VERSION
mkdir -p $DIR
cp README.md $DIR
cp LICENSE.txt $DIR
GOOS=$OS GOARCH=$ARCH go build -o $DIR/jp github.com/paulhammond/jp/jp
- cd pkg/$DEST
- tar -czf ../jp-${VERSION}-${OS}-${ARCH}.tgz jp-$VERSION
- cd ../..
+ cd pkg/build/$DEST
+ tar -czf ../../jp-${VERSION}-${OS}-${ARCH}.tgz jp-$VERSION
+ cd ../../..
done
Please sign in to comment.
Something went wrong with that request. Please try again.