Don't run bencode from source
This commit is contained in:
parent
c738398eea
commit
322d3e123b
2 changed files with 0 additions and 19 deletions
|
|
@ -1,18 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -eou pipefail
|
|
||||||
|
|
||||||
export BABASHKA_CLASSPATH=$(clojure -Sdeps '{:deps {borkdude/bencode {:git/url "https://github.com/borkdude/bencode" :sha "fc2bd007fee318cb04fdb9e0844e69d42cacaf36" :deps/manifest :deps}}}' -Spath)
|
|
||||||
|
|
||||||
ENV=${BABASHKA_TEST_ENV:-}
|
|
||||||
|
|
||||||
if [ "$ENV" = "native" ]; then
|
|
||||||
BB_CMD="./bb"
|
|
||||||
else
|
|
||||||
BB_CMD="lein bb"
|
|
||||||
fi
|
|
||||||
|
|
||||||
$BB_CMD -e "
|
|
||||||
(require '[bencode.core :as bencode] :reload-all)
|
|
||||||
(with-open [os (java.io.ByteArrayOutputStream.)] (bencode/write-bencode os {\"greeting\" \"Good morning\"}) (str os))
|
|
||||||
"
|
|
||||||
|
|
@ -11,4 +11,3 @@ script/lib_tests/medley_test
|
||||||
script/lib_tests/babashka_curl_test
|
script/lib_tests/babashka_curl_test
|
||||||
script/lib_tests/cprop_test
|
script/lib_tests/cprop_test
|
||||||
script/lib_tests/comb_test
|
script/lib_tests/comb_test
|
||||||
script/lib_tests/bencode_test
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue