mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-08 21:58:07 -05:00
* version independent monerod path with localhost-only binding * fixed lint target and install script * created 3rd ETH key constant to avoid race condition in tests * updated run-integration-tests.sh with the same changes made to run-unit-tests.sh * new design for paritioning out 2 unique keys to test packages * restored accidentally deleted tests/alice.key * removed websocket connection leaks from tests * made file paths unique between tests with better file cleanup * fix for the websocket connection leak commit * reverted increase of GenerateBlocks (didn't mean to commit that) * fixed maker/taker key that I had reversed * fixed incorrect zero-balance check * fixed comment on ClaimOrRefund * added back sample script for installing go in /usr/local/go * etchclient creation cleanup using t.Cleanup() * minor cleanup to ganache_test_keys code * initial dynamic monero-wallet-rpc implementation for tests * converted monero tests to use dynamic monero-wallet-rpc services * unit tests all using dynamic monero-wallet-rpc services * fixed 2 tests that failed after moving to dynamic monero-wallet-rpc services * fixed low balance issues in TestSwapState_NotifyClaimed Co-authored-by: noot <36753753+noot@users.noreply.github.com>
30 lines
511 B
Makefile
30 lines
511 B
Makefile
.PHONY: lint test install build build-dleq mock
|
|
all: build-dleq install
|
|
|
|
GOPATH ?= $(shell go env GOPATH)
|
|
|
|
lint:
|
|
./scripts/install-lint.sh
|
|
${GOPATH}/bin/golangci-lint run
|
|
|
|
test:
|
|
./scripts/run-unit-tests.sh
|
|
|
|
test-integration:
|
|
./scripts/run-integration-tests.sh
|
|
|
|
install:
|
|
cd cmd/ && go install && cd ..
|
|
|
|
build:
|
|
./scripts/build.sh
|
|
|
|
build-all:
|
|
ALL=true ./scripts/build.sh
|
|
|
|
build-dleq:
|
|
./scripts/install-rust.sh && cd farcaster-dleq && cargo build --release && cd ..
|
|
|
|
mock:
|
|
go generate -run mockgen ./...
|