File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ appname=pgdiff
4+
5+ if [[ -d bin-linux32 ]]; then
6+ GOOS=linux GOARCH=386 go build -o bin-linux32/${appname}
7+ echo " Built linux32."
8+ else
9+ echo " Skipping linux32. No bin-linux32 directory."
10+ fi
11+
12+ if [[ -d bin-linux64 ]]; then
13+ GOOS=linux GOARCH=amd64 go build -o bin-linux64/${appname}
14+ echo " Built linux64."
15+ else
16+ echo " Skipping linux64. No bin-linux64 directory."
17+ fi
18+
19+ if [[ -d bin-osx32 ]]; then
20+ GOOS=darwin GOARCH=386 go build -o bin-osx32/${appname}
21+ echo " Built osx32."
22+ else
23+ echo " Skipping osx32. No bin-osx32 directory."
24+ fi
25+
26+ if [[ -d bin-osx64 ]]; then
27+ GOOS=darwin GOARCH=amd64 go build -o bin-osx64/${appname}
28+ echo " Built osx64."
29+ else
30+ echo " Skipping osx64. No bin-osx64 directory."
31+ fi
32+
33+ if [[ -d bin-win32 ]]; then
34+ GOOS=windows GOARCH=386 go build -o bin-win32/${appname} .exe
35+ echo " Built win32."
36+ else
37+ echo " Skipping win32. No bin-win32 directory."
38+ fi
39+
40+ if [[ -d bin-win64 ]]; then
41+ GOOS=windows GOARCH=amd64 go build -o bin-win64/${appname} .exe
42+ echo " Built win64."
43+ else
44+ echo " Skipping win64. No bin-win64 directory."
45+ fi
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright (c) 2014 Jon Carlson. All rights reserved.
3+ // Use of this source code is governed by an MIT-style
4+ // license that can be found in the LICENSE file.
5+ //
6+
17package main
28
39import "sort"
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright (c) 2014 Jon Carlson. All rights reserved.
3+ // Use of this source code is governed by an MIT-style
4+ // license that can be found in the LICENSE file.
5+ //
6+
17package main
28
39import "flag"
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright (c) 2014 Jon Carlson. All rights reserved.
3+ // Use of this source code is governed by an MIT-style
4+ // license that can be found in the LICENSE file.
5+ //
6+
17package main
28
39import "sort"
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright (c) 2014 Jon Carlson. All rights reserved.
3+ // Use of this source code is governed by an MIT-style
4+ // license that can be found in the LICENSE file.
5+ //
6+
17package main
28
39import "sort"
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright (c) 2014 Jon Carlson. All rights reserved.
3+ // Use of this source code is governed by an MIT-style
4+ // license that can be found in the LICENSE file.
5+ //
6+
17package main
28
39import "sort"
Original file line number Diff line number Diff line change 11//
2+ // Copyright (c) 2014 Jon Carlson. All rights reserved.
3+ // Use of this source code is governed by an MIT-style
4+ // license that can be found in the LICENSE file.
5+ //
26// grant.go provides functions and structures that are common to grant-relationships and grant-attributes
37//
8+
49package main
510
611import "sort"
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright (c) 2014 Jon Carlson. All rights reserved.
3+ // Use of this source code is governed by an MIT-style
4+ // license that can be found in the LICENSE file.
5+ //
6+
17package main
28
39import "sort"
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright (c) 2014 Jon Carlson. All rights reserved.
3+ // Use of this source code is governed by an MIT-style
4+ // license that can be found in the LICENSE file.
5+ //
6+
17package main
28
39import "fmt"
Original file line number Diff line number Diff line change 1+ //
2+ // Copyright (c) 2014 Jon Carlson. All rights reserved.
3+ // Use of this source code is governed by an MIT-style
4+ // license that can be found in the LICENSE file.
5+ //
6+
17package main
28
39import "fmt"
You can’t perform that action at this time.
0 commit comments