mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-10-17 21:30:39 +08:00
fix build
This commit is contained in:
10
Makefile
10
Makefile
@@ -34,6 +34,16 @@ all: editor
|
||||
go version
|
||||
date 2>&1 | tee -a log
|
||||
|
||||
build_all_targets:
|
||||
GOOS=darwin GOARCH=amd64 go build -v ./...
|
||||
GOOS=linux GOARCH=386 go build -v ./...
|
||||
GOOS=linux GOARCH=amd64 go build -v ./...
|
||||
GOOS=linux GOARCH=arm go build -v ./...
|
||||
GOOS=linux GOARCH=arm64 go build -v ./...
|
||||
GOOS=windows GOARCH=386 go build -v ./...
|
||||
GOOS=windows GOARCH=amd64 go build -v ./...
|
||||
echo done
|
||||
|
||||
darwin_amd64:
|
||||
TARGET_GOOS=darwin TARGET_GOARCH=amd64 go generate 2>&1 | tee /tmp/log-generate-sqlite-darwin-amd64
|
||||
GOOS=darwin GOARCH=amd64 go build -v ./...
|
||||
|
2
go.mod
2
go.mod
@@ -6,6 +6,6 @@ require (
|
||||
github.com/mattn/go-sqlite3 v1.14.6
|
||||
modernc.org/libc v1.7.12
|
||||
modernc.org/mathutil v1.2.2
|
||||
modernc.org/tcl v0.0.0-20210224212603-21674adedced
|
||||
modernc.org/tcl v0.0.0-20210225113807-a9f78798ff34
|
||||
modernc.org/z v1.0.0
|
||||
)
|
||||
|
4
go.sum
4
go.sum
@@ -19,7 +19,7 @@ modernc.org/mathutil v1.2.2 h1:+yFk8hBprV+4c0U9GjFtL+dV3N8hOJ8JCituQcMShFY=
|
||||
modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
||||
modernc.org/memory v1.0.4 h1:utMBrFcpnQDdNsmM6asmyH/FM9TqLPS7XF7otpJmrwM=
|
||||
modernc.org/memory v1.0.4/go.mod h1:nV2OApxradM3/OVbs2/0OsP6nPfakXpi50C7dcoHXlc=
|
||||
modernc.org/tcl v0.0.0-20210224212603-21674adedced h1:bfr5PUnmGkyfTTvoror9E6L3idoCOAvK/E+pDyz62fI=
|
||||
modernc.org/tcl v0.0.0-20210224212603-21674adedced/go.mod h1:V/IPvXL2qjXdOOeB5plr6K2Hlmil2i/iW+7efdhdu20=
|
||||
modernc.org/tcl v0.0.0-20210225113807-a9f78798ff34 h1:el4P42xxiaMVpPFcWcqtitx+ZZ2kTvuJ5oLwZaSNhDM=
|
||||
modernc.org/tcl v0.0.0-20210225113807-a9f78798ff34/go.mod h1:V/IPvXL2qjXdOOeB5plr6K2Hlmil2i/iW+7efdhdu20=
|
||||
modernc.org/z v1.0.0 h1:mEk+jxKT03Fz+kbVWgwJRV6V82a+xEDisa7JCSHJnBA=
|
||||
modernc.org/z v1.0.0/go.mod h1:dy1pW95tOEf0gSkDFXwb2XAC+VWsFbKjZiD/qI8/9HI=
|
||||
|
Reference in New Issue
Block a user