blob: dcb84ff9d109761fdaf8e8f4e4bc5a34caf7db70 [file] [log] [blame]
#!/bin/bash
APPNAME=fuzzer-fe
set -x -e
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
INSTALL="install -D --verbose --backup=none"
INSTALL_DIR="install -d --verbose --backup=none"
${INSTALL} --mode=644 -T ${APPNAME}/Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/${APPNAME} ${ROOT}/usr/local/bin/${APPNAME}
${INSTALL_DIR} --mode=755 ${ROOT}/usr/local/share/${APPNAME}/templates
${INSTALL} --mode=644 ./templates/* ${ROOT}/usr/local/share/${APPNAME}/templates
${INSTALL} --mode=644 -T ./res/img/favicon.ico ${ROOT}/usr/local/share/${APPNAME}/res/img/favicon.ico
${INSTALL} --mode=644 -T ./res/img/skia_fuzz.png ${ROOT}/usr/local/share/${APPNAME}/res/img/skia_fuzz.png
${INSTALL} --mode=644 -T ./res/js/core.js ${ROOT}/usr/local/share/${APPNAME}/res/js/core.js
${INSTALL} --mode=644 -T ./res/vul/elements.html ${ROOT}/usr/local/share/${APPNAME}/res/vul/elements.html
}
source ../bash/docker_build.sh