aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/build-windows.sh
blob: 7e24cb69a7f62d9f31d4ac0910ff60536225a82b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -ex

DESTDIR="${PN}-${TARGET}-${PV}"

${MAKE_CMD:-make} blogc.exe blogc-runserver.exe

rm -rf "${DESTDIR}"
mkdir -p "${DESTDIR}"

cp .libs/blogc.exe .libs/blogc-runserver.exe "${DESTDIR}/"
cp ../LICENSE "${DESTDIR}/"
cp ../README.md "${DESTDIR}/"

zip "${DESTDIR}.zip" "${DESTDIR}"/*