Test generate handlers
This commit is contained in:
parent
38415849cd
commit
9a1443d716
2
Makefile
2
Makefile
|
@ -273,6 +273,8 @@ install-release: ##@install Install Github Release Tools
|
|||
install-xtools: ##@install Install Miscellaneous Go Tools
|
||||
GO111MODULE=on go install golang.org/x/tools/go/packages/...@v0.1.5
|
||||
|
||||
generate-handlers:
|
||||
go generate ./_assets/generate_handlers/
|
||||
generate: ##@other Regenerate assets and other auto-generated stuff
|
||||
go generate ./static ./static/mailserver_db_migrations ./t ./multiaccounts/... ./appdatabase/... ./protocol/... ./walletdatabase/... ./_assets/generate_handlers
|
||||
|
||||
|
|
|
@ -75,6 +75,7 @@ pipeline {
|
|||
'--env=POSTGRES_HOST_AUTH_METHOD=trust',
|
||||
'--publish=5432:5432',
|
||||
].join(' ')) { c ->
|
||||
nix.shell('make generate-handlers', pure: true)
|
||||
nix.shell('make test-unit V=1', pure: false)
|
||||
}
|
||||
} }
|
||||
|
|
Loading…
Reference in New Issue