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