summaryrefslogtreecommitdiff
path: root/build
blob: 2107b07006d27c210819f4c564bcf146950ef50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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/doc/gowebd/
cp -a resources/* files/usr/share/doc/gowebd/

mkdir -p files/usr/share/bash-completion/completions/
gowebd --bash > files/usr/share/bash-completion/completions/gowebd