reader-sync 0.3.4

Sync Readwise Reader documents into a PostgreSQL database
1
2
3
4
5
6
7
8
9
10
11
12
13
14
VERSION := `git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD`

all: build push

build:
    cargo sqlx prepare
    podman build -t readwise-sync:{{VERSION}} .
    podman tag readwise-sync:{{VERSION}} rg.fr-par.scw.cloud/tooling/readwise-sync:{{VERSION}}

push:
    podman push rg.fr-par.scw.cloud/tooling/readwise-sync:{{VERSION}}

dev-install:
    cargo install --version=^0.7 sqlx-cli --no-default-features --features postgres