blob: 70aea2e7ec6a949eca3b1759050384b0713e7c23 [file] [log] [blame]
#!/bin/bash
APPNAME=task-driver-server
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 ./Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/${APPNAME} ${ROOT}/usr/local/bin/${APPNAME}
${INSTALL_DIR} ${ROOT}/usr/local/share
cp -r ./dist ${ROOT}/usr/local/share/${APPNAME}
chmod -R 755 ${ROOT}/usr/local/share/${APPNAME}
}
source ../bash/docker_build.sh