Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2014-06-05 10:53:04 +0400
committerFeross Aboukhadijeh <feross@feross.org>2014-06-05 10:53:04 +0400
commit34db97944cd5f5eff758e845fd2f102b8d929b13 (patch)
treefa3d57af568840df567514bf15ef756f840888a9 /bin
parenta01a76f44f082b38d71c6257d9d967e51d4fda14 (diff)
add handy "getting started" clone script
Diffstat (limited to 'bin')
-rwxr-xr-xbin/clone.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/clone.sh b/bin/clone.sh
new file mode 100755
index 0000000..fbadc97
--- /dev/null
+++ b/bin/clone.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+if [ "$#" -ne 1 ] || ! [ -d "$1" ]; then
+ echo "Usage: $0 DIRECTORY_TO_CLONE_INTO" >&2
+ exit 1
+fi
+
+pushd $1
+git clone git@github.com:feross/bittorrent-client.git
+git clone git@github.com:feross/bittorrent-dht.git
+git clone git@github.com:feross/bittorrent-peerid.git
+git clone git@github.com:feross/bittorrent-protocol.git
+git clone git@github.com:feross/bittorrent-swarm.git
+git clone git@github.com:feross/bittorrent-tracker.git
+git clone git@github.com:feross/magnet-uri.git
+git clone git@github.com:feross/parse-torrent.git
+git clone git@github.com:feross/string2compact.git
+git clone git@github.com:feross/ut_metadata.git
+git clone git@github.com:feross/ut_pex.git
+popd
+./node_modules/.bin/zelda $1