gowebd/build

17 lines
485 B
Plaintext
Raw Normal View History

#!/bin/bash -x
# this is the systemd control file
mkdir -p files/lib/systemd/system/
cp gowebd.service files/lib/systemd/system/
# caddy file. propose this as the dir structure caddy should use
mkdir -p files/etc/gowebd/
cp Caddyfile.go.wit.com files/etc/gowebd/
cp resources/Makefile files/etc/gowebd/
# share dir
mkdir -p files/usr/share/gowebd/
cp Makefile files/usr/share/gowebd/
cp -a resources/repomap files/usr/share/gowebd/repomap
cp -a resources files/usr/share/gowebd/