File: build.sh

package info (click to toggle)
mosdepth 0.3.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,960 kB
  • sloc: sh: 244; python: 132; makefile: 28
file content (21 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
set -euo pipefail

NIM_VERSION=v0.19.0

base=$(pwd)

git clone -b $NIM_VERSION --depth 1 git://github.com/nim-lang/nim nim-$NIM_VERSION/
cd nim-$NIM_VERSION

sh build_all.sh

export PATH=$PATH:$base/nim-$NIM_VERSION/bin/

cd $base

cd $base
git clone --depth 1 git://github.com/brentp/mosdepth.git
cd mosdepth
nimble install -y
nim c -d:release mosdepth.nim 
cp ./mosdepth /io