aboutsummaryrefslogtreecommitdiff
path: root/build-gnunet.sh
blob: 63c6dfb434e4ba6f45fafe9d94aa601d81100466 (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/hostlist ../assets/
cp sysroot/var/lib/gnunet/js/* ../assets/js/
mv ../assets/js/client-lib.js ../src/js/

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