Skip to content

Commit 1f3e5be

Browse files
committed
Added copyright and license info at the top
Former-commit-id: 6d57804
1 parent dd74ba1 commit 1f3e5be

14 files changed

Lines changed: 121 additions & 0 deletions

build.sh

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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

column.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
package main
28

39
import "sort"

flags.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
package main
28

39
import "flag"

foreignkey.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
package main
28

39
import "sort"

grant-attribute.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
package main
28

39
import "sort"

grant-relationship.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
package main
28

39
import "sort"

grant.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
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+
49
package main
510

611
import "sort"

index.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
package main
28

39
import "sort"

owner.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
package main
28

39
import "fmt"

pgdiff.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
package main
28

39
import "fmt"

0 commit comments

Comments
 (0)