aboutsummaryrefslogtreecommitdiff
path: root/build-gnunet.sh
blob: e9db63b1410ae5cfe1960445a64d45301f5f547e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

[ -e gnunet-build/scripts/build ] || git submodule update --init
mkdir -p assets/js
cd gnunet-build
export PATH="$PATH":"$(pwd)/scripts"
build -d
cp sysroot/var/lib/gnunet/js/* ../assets/js/
mv ../assets/js/client-lib.js ../src/js/
wget -O ../assets/hostlist https://gnunet.io/hostlist

# vim: set expandtab ts=2 sw=2: