summaryrefslogtreecommitdiff
path: root/bittorrent/dev
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2019-09-28 13:43:29 -0400
committerJoe Crayne <joe@jerkface.net>2020-01-01 19:27:53 -0500
commit11987749fc6e6d3e53ea737d46d5ab13a16faeb8 (patch)
tree5716463275c2d3e902889db619908ded2a73971c /bittorrent/dev
parentadd2c76bced51fde5e9917e7449ef52be70faf87 (diff)
Factor out some new libraries
word64-map: Data.Word64Map network-addr: Network.Address tox-crypto: Crypto.Tox lifted-concurrent: Control.Concurrent.Lifted.Instrument Control.Concurrent.Async.Lifted.Instrument psq-wrap: Data.Wrapper.PSQInt Data.Wrapper.PSQ minmax-psq: Data.MinMaxPSQ tasks: Control.Concurrent.Tasks kad: Network.Kademlia Network.Kademlia.Bootstrap Network.Kademlia.Routing Network.Kademlia.CommonAPI Network.Kademlia.Persistence Network.Kademlia.Search
Diffstat (limited to 'bittorrent/dev')
-rw-r--r--bittorrent/dev/README.md4
-rwxr-xr-xbittorrent/dev/add-sources.sh5
-rwxr-xr-xbittorrent/dev/bench4
-rwxr-xr-xbittorrent/dev/test2
-rwxr-xr-xbittorrent/dev/update-dependencies.sh11
5 files changed, 0 insertions, 26 deletions
diff --git a/bittorrent/dev/README.md b/bittorrent/dev/README.md
deleted file mode 100644
index e2cc51a6..00000000
--- a/bittorrent/dev/README.md
+++ /dev/null
@@ -1,4 +0,0 @@
1This directory is for some dev scripts and other dev only stuff which
2we don't want to keep in the resulting `cabal sdist` generated
3tarball. Do _not_ include any of these files to .cabal file, neither
4to `extra-source-files` nor to `data-files` sections.
diff --git a/bittorrent/dev/add-sources.sh b/bittorrent/dev/add-sources.sh
deleted file mode 100755
index e125cade..00000000
--- a/bittorrent/dev/add-sources.sh
+++ /dev/null
@@ -1,5 +0,0 @@
1#!/bin/bash
2
3for s in $(ls $(dirname $0)/../sub); do
4 (cd $(dirname $0)/.. && cabal sandbox add-source sub/$s)
5done
diff --git a/bittorrent/dev/bench b/bittorrent/dev/bench
deleted file mode 100755
index 5d03db3f..00000000
--- a/bittorrent/dev/bench
+++ /dev/null
@@ -1,4 +0,0 @@
1#!/bin/sh
2cabal-dev build &&
3 ./dist/build/benchmarks/benchmarks -o dist/build/benchmarks/result.html &&
4 xdg-open dist/build/benchmarks/result.html \ No newline at end of file
diff --git a/bittorrent/dev/test b/bittorrent/dev/test
deleted file mode 100755
index 2eb85df2..00000000
--- a/bittorrent/dev/test
+++ /dev/null
@@ -1,2 +0,0 @@
1#!/bin/sh
2cabal-dev build && cabal-dev test || echo "ERROR: Some tests failed."
diff --git a/bittorrent/dev/update-dependencies.sh b/bittorrent/dev/update-dependencies.sh
deleted file mode 100755
index c83694c3..00000000
--- a/bittorrent/dev/update-dependencies.sh
+++ /dev/null
@@ -1,11 +0,0 @@
1#!/bin/sh
2
3cd $(dirname $0)/..
4
5git submodule init
6git submodule foreach git fetch
7git submodule update --recursive --checkout --force
8
9$(dirname $0)/add-sources.sh
10
11cabal install --enable-tests --only-dependencies --reinstall