2022-11-20 20:22:10 +00:00
|
|
|
## Guix
|
|
|
|
|
|
|
|
Start a development environment
|
2022-11-22 08:28:02 +00:00
|
|
|
(openssl is included only to set SSL_CERTS_DIRS)
|
2022-11-20 20:22:10 +00:00
|
|
|
|
2022-11-22 08:28:02 +00:00
|
|
|
guix shell --pure -L. openssl -D basicswap
|
2022-11-20 20:22:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
Run tests
|
|
|
|
|
|
|
|
export PYTHONPATH=$(pwd)
|
|
|
|
|
|
|
|
# Prepare coin binaries - required once
|
|
|
|
python ./bin/basicswap-prepare.py -preparebinonly --withcoins=monero,bitcoin,particl,litecoin
|
|
|
|
|
|
|
|
pytest -vs tests/basicswap/test_run.py::Test::test_02_part_ltc
|
|
|
|
|
|
|
|
|
2022-11-22 08:28:02 +00:00
|
|
|
Install basicswap package
|
2022-11-20 20:22:10 +00:00
|
|
|
|
|
|
|
guix package --install -L. basicswap
|
|
|
|
|
|
|
|
|
|
|
|
Create a guix pack
|
|
|
|
|
|
|
|
guix pack -RR -S /opt/gnu/bin=bin -L. basicswap
|