github.com/anacrolix/torrent@v1.61.0/justfile (about)

     1  export CGO_LDFLAGS := '-Lstorage/possum/lib/target/debug'
     2  
     3  check:
     4      go test -run @ -failfast ./... > /dev/null
     5  
     6  act:
     7      act -j test --env-file .empty.env
     8  
     9  export GOPPROF := env("GOPPROF", "http")
    10  
    11  test-short: build-possum
    12      GOPPROF='{{GOPPROF}}' go test -race -failfast -short ./...
    13  
    14  test *args: build-possum
    15      go test -race {{ args }} ./...
    16      go test -race -run @ -benchtime 2x -bench . ./...
    17  
    18  build-possum:
    19      cd storage/possum/lib && cargo build