Dan Sosedoff
38051b9465
Add support for user functions ( #608 )
...
* Add initial support for functions
* Show functions definitions
* Fix client tests
* Fix schema objects search
* Perform partial matching for functions
* Add function test
* Make sure to close client connections so that database could be dropped in tests
* Fix lint
* Allow to copy the view/functions definitions
* Nits
2022-12-07 11:58:07 -06:00
Dan Sosedoff
bbe9a97d05
Switch go build target to 1.19 ( #603 )
...
* Switch go build target to 1.19
* Add make docker-run target for testing new images
* Bump appveyor go version
* Fix appveyor paths
2022-12-06 18:34:08 -06:00
Dan Sosedoff
2c745fa68d
Use runtime-provided os/arch info
2022-12-06 18:14:47 -06:00
Dan Sosedoff
88557bfaf5
Fix awk param reference in BUILD_ARCH flag
2022-12-06 18:02:20 -06:00
Dan Sosedoff
829658ae4d
Include build arch info into binary
2022-12-06 17:55:27 -06:00
Dan Sosedoff
3e1a93296e
Pass ldflags for make install
2022-12-06 11:09:13 -06:00
Dan Sosedoff
e65ced70ff
Set LDFLAGS for make build/release commands
2022-12-02 11:56:18 -06:00
Dan Sosedoff
f9e376a117
Code cleanup; add make lint task
2022-12-01 16:51:12 -06:00
Dan Sosedoff
9bfec11b48
Fix linting errors
2022-11-14 16:10:50 -06:00
Dan Sosedoff
13091c2a7c
Add make install target
2022-09-18 10:14:51 -05:00
Dan Sosedoff
9a75243732
Replace gox with a bash build script ( #571 )
2022-07-26 20:17:40 -05:00
Dan Sosedoff
ae3b74ad2a
Docker build refactor ( #568 )
2022-06-27 22:31:57 -05:00
Dan Sosedoff
af79994595
DRY ldflags; include build time into version string ( #541 )
2021-12-30 15:33:43 -06:00
Dan Sosedoff
b5abd7555f
Add darwin/arm64 binary build target
2021-04-12 09:59:15 -05:00
Dan Sosedoff
ceece29737
Remove extra whitespace
2021-04-12 09:57:18 -05:00
Nikita Kazarian
8e2c826ba3
go 1.16 features
...
- use go embed instead of go-binary and remove all about old assets (go 1.16 feature)
- pin gox version (go 1.16 feature)
- update ci to go 1.16
2021-03-05 03:47:01 +03:00
Nikita Kazarian
4a3145bfbd
add GO111MODULE=on to Makefile for go 1.12 support
2021-03-04 00:31:10 +03:00
Nikita Kazarian
21e8493838
move project to go modules
...
- remove vendor
- pin cockroach version in tests
- remove golang.org/x/tools/cmd/cover (not maintained and moved to standart library)
2021-03-04 00:15:23 +03:00
caleb mccarthy
70069e4e23
Add arm64 v7 option
2020-12-05 15:26:57 -06:00
Allisson Azevedo
d3da40e0ad
feat(release): strip binary to reduce size
2020-10-10 12:05:32 -03:00
Dan Sosedoff
cc35a754e0
Add dockerignore
2019-12-16 17:26:23 -06:00
Dan Sosedoff
8b1f234b91
Include go version into builds
2019-11-29 13:59:50 -06:00
Sylvain DOIGNON
0bdf8b3498
display image size in docker-release task
2019-07-31 16:43:17 +02:00
Dan Sosedoff
1334e48fc7
Update dockerfile
2019-07-24 17:28:15 -05:00
Dan Sosedoff
0556d8b69d
Switch to github.com/go-bindata/go-bindata fork
2019-01-28 16:32:43 -06:00
Dan Sosedoff
ad81f666a5
Switch to dep for dependency management
2018-08-31 21:49:24 -05:00
Dan Sosedoff
e68c7e2c61
Add cockroachdb smoke test
2018-06-05 18:20:58 -05:00
Dan Sosedoff
9fae7c06af
Use -race flag with go test
2018-04-26 00:05:32 -05:00
Dan Sosedoff
b29c013706
Use go get -u to fetch initial deps
2018-04-26 00:04:48 -05:00
Antonio Lanfranchi
7d97f6424b
Removed duplicate usage line in Makefile.
...
There were two lines for `make test`.
2017-04-27 05:16:10 -04:00
Dan Sosedoff
376d2283bf
Fix compile tags in makefile due to compiler warnings
2016-10-01 20:32:05 -05:00
Dan Sosedoff
f575441aa6
Add support for ARMv5
2016-06-27 21:21:36 -05:00
Dan Sosedoff
e4b13b753b
Add tasks to build and push docker containers
2016-06-27 20:54:29 -05:00
Dan Sosedoff
186f132262
Tweak test directory
2016-06-27 19:52:26 -05:00
Edward Muller
5d2412bbb0
Upgrade to Go1.6, use vendor
...
Also make sure we're using a more recent version of godep
2016-05-26 16:37:46 -07:00
Dan Sosedoff
e3f5cab6dd
Add task to build on all PG versions
2016-01-17 15:22:51 -06:00
Dan Sosedoff
d26bb75ebc
Tweak packaging script
2015-05-06 21:31:05 -05:00
Dan Sosedoff
a65cca44e5
Add script to package binaries
2015-05-06 21:24:15 -05:00
Dan Sosedoff
c0f3f027ae
Move version definition into command package, include build timestamp, add /api/info endpoint
2015-05-05 00:34:23 -05:00
Dan Sosedoff
ca894c621f
Inject git version when building a release
2015-04-30 20:40:06 -05:00
Dan Sosedoff
595f51d76c
Add test task to makefile readme
2015-04-30 12:10:25 -05:00
Dan Sosedoff
e9f2f8eb83
Test all
2015-04-30 11:53:21 -05:00
Dan Sosedoff
c513930e27
Restructure application
2015-04-30 11:47:07 -05:00
Dan Sosedoff
fa8f3a2997
Add docker-release to usage
2015-03-17 00:01:28 -05:00
Dan Sosedoff
00f4413f12
Add docker-release target to makefile
2015-03-16 23:59:46 -05:00
Dan Sosedoff
27b3cac1e0
Run coverage analysis with tests
2015-03-04 08:53:16 -06:00
Dan Sosedoff
631ef974b6
Add 'make bootstrap' task
2015-02-02 14:15:57 -06:00
Dan Sosedoff
8b2ff2b57d
Better description for make docker
2014-12-31 18:47:21 -06:00
Dan Sosedoff
fadfaeb547
Regenerate production assets after make clean
2014-12-28 00:05:25 -06:00
Dan Sosedoff
83429723ce
Add tests to makefile usage
2014-12-26 20:51:04 -06:00