Tasks/install.sh

10 lines
221 B
Bash

echo "changing directory to Tasks"
cd $GOPATH/src/github.com/thewhitetulip/Tasks
echo "creating table"
cat schema.sql | sqlite3 tasks.db
echo "building the go binary"
go build -o Tasks
echo "starting the binary"
./Tasks