From 893135e6097dacdaa0bd2f2989aa57a6a258f149 Mon Sep 17 00:00:00 2001 From: Brent Pedersen Date: Fri, 18 Mar 2022 11:35:57 +0100 Subject: [PATCH] d4 build --- .github/workflows/build.yml | 7 +++---- mosdepth.nimble | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6a7faa..33332bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,10 +72,9 @@ jobs: #export HTSLIB=system git clone https://github.com/38/d4-format cd d4-format - cargo build --release --all-features - cd d4binding/ && cargo build --release && cd .. - sudo cp ../d4-format/target/release/libd4binding.* /usr/local/lib - sudo cp ./d4binding/include/d4.h /usr/local/include/ + cargo build --release --all-features --package=d4binding + sudo cp target/release/libd4binding.* /usr/local/lib + sudo cp d4binding/include/d4.h /usr/local/include/ sudo ldconfig || true diff --git a/mosdepth.nimble b/mosdepth.nimble index 70f8d01..3ebf3be 100644 --- a/mosdepth.nimble +++ b/mosdepth.nimble @@ -7,7 +7,7 @@ license = "MIT" # Dependencies -requires "hts >= 0.3.21", "docopt >= 0.6.8", "nim >= 1.0.0", "https://github.com/brentp/d4-nim" +requires "hts >= 0.3.21", "docopt >= 0.6.8", "nim >= 1.0.0", "https://github.com/brentp/d4-nim >= 0.0.3" bin = @["mosdepth"] skipDirs = @["tests"]