OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / vendor / github.com / multiformats / go-multihash / test / sharness / lib / install-sharness.sh
diff --git a/vendor/github.com/multiformats/go-multihash/test/sharness/lib/install-sharness.sh b/vendor/github.com/multiformats/go-multihash/test/sharness/lib/install-sharness.sh
deleted file mode 100644 (file)
index d573c40..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-# install sharness.sh
-#
-# Copyright (c) 2014 Juan Batiz-Benet
-# MIT Licensed; see the LICENSE file in this repository.
-#
-
-# settings
-version=50229a79ba22b2f13ccd82451d86570fecbd194c
-urlprefix=https://github.com/mlafeldt/sharness.git
-clonedir=lib
-sharnessdir=sharness
-
-die() {
-  echo >&2 "$@"
-  exit 1
-}
-
-mkdir -p "$clonedir" || die "Could not create '$clonedir' directory"
-cd "$clonedir" || die "Could not cd into '$clonedir' directory"
-
-git clone "$urlprefix" || die "Could not clone '$urlprefix'"
-cd "$sharnessdir" || die "Could not cd into '$sharnessdir' directory"
-git checkout "$version" || die "Could not checkout '$version'"
-
-exit 0