diff options
author | James Crayne <jim.crayne@gmail.com> | 2019-09-28 13:43:29 -0400 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2020-01-01 19:27:53 -0500 |
commit | 11987749fc6e6d3e53ea737d46d5ab13a16faeb8 (patch) | |
tree | 5716463275c2d3e902889db619908ded2a73971c /bittorrent/dev | |
parent | add2c76bced51fde5e9917e7449ef52be70faf87 (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.md | 4 | ||||
-rwxr-xr-x | bittorrent/dev/add-sources.sh | 5 | ||||
-rwxr-xr-x | bittorrent/dev/bench | 4 | ||||
-rwxr-xr-x | bittorrent/dev/test | 2 | ||||
-rwxr-xr-x | bittorrent/dev/update-dependencies.sh | 11 |
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 @@ | |||
1 | This directory is for some dev scripts and other dev only stuff which | ||
2 | we don't want to keep in the resulting `cabal sdist` generated | ||
3 | tarball. Do _not_ include any of these files to .cabal file, neither | ||
4 | to `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 | |||
3 | for s in $(ls $(dirname $0)/../sub); do | ||
4 | (cd $(dirname $0)/.. && cabal sandbox add-source sub/$s) | ||
5 | done | ||
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 | ||
2 | cabal-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 | ||
2 | cabal-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 | |||
3 | cd $(dirname $0)/.. | ||
4 | |||
5 | git submodule init | ||
6 | git submodule foreach git fetch | ||
7 | git submodule update --recursive --checkout --force | ||
8 | |||
9 | $(dirname $0)/add-sources.sh | ||
10 | |||
11 | cabal install --enable-tests --only-dependencies --reinstall | ||