-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdev.sh
More file actions
43 lines (40 loc) · 903 Bytes
/
Copy pathdev.sh
File metadata and controls
43 lines (40 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
#Script to launch the development environment
ARG="run"
if [ $# -eq 1 ]; then
ARG=$1
fi
case ${ARG} in
run)
echo "==== godoc listening at :6060 ===="
godoc -http=:6060&
gulp assets watch&
go run -ldflags "-X main.Version=SNAPSHOT" main.go --fake-mailer
wait
;;
install)
npm install --save-dev handlebars\
gulp-handlebars\
gulp-wrap\
gulp-declare\
gulp-concat\
gulp-uglify\
gulp-rename\
gulp-clean-css\
gulp-htmlmin\
gulp-livereload\
gulp-order\
gulp-util\
merge-stream\
go get -u golang.org/x/tools/cmd/cover
go get -u github.com/tools/godep
go get -u github.com/pierrre/gotestcover
go get -u github.com/kisielk/errcheck
go get -u golang.org/x/text/encoding/charmap
go get -u github.com/maruel/panicparse/cmd/pp
go get -u github.com/stathat/go
;;
*)
echo "usage $0 (run|install)"
;;
esac