File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,15 @@ package main
55import (
66 "github.com/infogulch/xtemplate/app"
77
8+ "github.com/ncruces/go-sqlite3"
89 _ "github.com/ncruces/go-sqlite3/driver"
910 _ "github.com/ncruces/go-sqlite3/embed"
1011)
1112
13+ func init () {
14+ sqlite3 .Initialize ()
15+ }
16+
1217func main () {
1318 app .Main ()
1419}
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ task: dist: {
142142 matrix : [for os in oses for arch in arches {GOOS : os , GOARCH : arch }]
143143
144144 for env in matrix {
145- (env .GOOS + " _ " + env .GOARCH ): {
145+ (" dist_ " + env .GOOS + " _ " + env .GOARCH ): {
146146 dir : " \(vars .distdir )/xtemplate-\(env .GOARCH )-\(env .GOOS ) "
147147 exe : string | * " xtemplate "
148148 if env .GOOS == " windows " {
@@ -278,7 +278,7 @@ command: ci: {
278278
279279 pass : build_test_cli .kill .$done && build_test_caddy .kill .$done && build_test_docker .stop .$done
280280
281- dist : task .dist & {" vars " : cfg .vars }
281+ dist : task .dist & {" vars " : cfg .vars , [ =~ " ^dist " ]: $after : pass }
282282 build_docker : task .build_docker & {" vars " : cfg .vars , build : $after : pass }
283283 push_docker : task .push_docker & {" vars " : cfg .vars , tags : build_docker .tags } & {[=~ " ^push " ]: $after : build_docker .build .$done }
284284}
You can’t perform that action at this time.
0 commit comments