Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 481 Bytes
#!/bin/bash
basePath=$(cd `dirname $0`; pwd)
templatesPath=${basePath}/templates
datasetsPath=${basePath}/datasets
cd $GOPATH/src/github.com/gobuffalo/packr/packr
go run main.go -i ${templatesPath}
go run main.go -i ${datasetsPath}
templatesPackrFile=$(cd ${templatesPath}; ls | grep "\-packr.go")
datasetsPackrFile=$(cd ${datasetsPath}; ls | grep "\-packr.go")
sed -i '' '/.go\"/d' ${templatesPath}/${templatesPackrFile}
sed -i '' '/.go\"/d' ${datasetsPath}/${datasetsPackrFile}
You can’t perform that action at this time.