#!/bin/bash
APP=applet
BasePath=$(dirname $(readlink -f $0))
CfgPath=$BasePath/etc/cfg.yml
cd $BasePath
rm -rf $BasePath/bin/$APP
go build -o $BasePath/bin/$APP $BasePath/main.go \
&& $BasePath/bin/$APP -c=$CfgPath