diff options
| author | EuAndreh <eu@euandre.org> | 2024-05-27 10:51:46 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-05-27 11:05:29 -0300 |
| commit | 0416e81f0b5e180d465a7e5d5434760ff9ccb717 (patch) | |
| tree | f5c52cb80087593eff17b8a00a9b376b0e839850 /Makefile | |
| parent | mv description long-description .. (diff) | |
| download | papod-0416e81f0b5e180d465a7e5d5434760ff9ccb717.tar.gz papod-0416e81f0b5e180d465a7e5d5434760ff9ccb717.tar.xz | |
src/lib.go: Start writing messages to DB
Create and test simple code for handling migrations transactionally as
files.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ EXEC = ./ ## Where to store the installation. Empty by default. DESTDIR = LDLIBS = -GOFLAGS = -tags 'linux libsqlite3 json1 fts5 sqlite_omit_load_extension' -ldflags '-extldflags "-static -lm"' +GOFLAGS = -tags 'linux libsqlite3 json1 fts5 sqlite_foreign_keys sqlite_omit_load_extension' -ldflags '-extldflags "-static -lm"' @@ -60,7 +60,7 @@ $(NAME).bin: src/lib.go src/cmd/main.go Makefile env CGO_ENABLED=1 go build -o $@ -v $(GOFLAGS) src/cmd/main.go tests/lib_test.bin: src/lib.go tests/lib_test.go Makefile - go test -c -o $@ -v $(GOFLAGS) $*.go + env CGO_ENABLED=1 go test -o $@ -v $(GOFLAGS) -c $*.go |
