Skip to content

Commit 067f2c9

Browse files
committed
Removed sql and sqlite3
I'm going to focus on a postgres driver for now
1 parent 5289e69 commit 067f2c9

7 files changed

Lines changed: 6 additions & 494 deletions

File tree

Makefile

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,17 @@ RUSTC ?= rustc
22
RUSTFLAGS += -L.
33

44
.PHONY: all
5-
all: sql.dummy postgres.dummy sqlite3.dummy
5+
all: postgres.dummy
66

7-
sql.dummy: src/sql/lib.rs
8-
$(RUSTC) $(RUSTFLAGS) --lib $< -o $@
9-
touch $@
10-
11-
postgres.dummy: src/postgres/lib.rs sql.dummy
12-
$(RUSTC) $(RUSTFLAGS) --lib src/postgres/lib.rs -o $@
13-
touch $@
14-
15-
sqlite3.dummy: src/sqlite3/lib.rs sql.dummy
16-
$(RUSTC) $(RUSTFLAGS) --lib src/sqlite3/lib.rs -o $@
7+
postgres.dummy: src/lib.rs
8+
$(RUSTC) $(RUSTFLAGS) --lib src/lib.rs -o $@
179
touch $@
1810

1911
.PHONY: check
20-
check: check-postgres check-sqlite3
21-
22-
check-postgres: postgres.dummy src/postgres/test.rs
23-
$(RUSTC) $(RUSTFLAGS) --test src/postgres/test.rs -o $@
24-
./$@
12+
check: check-postgres
2513

26-
check-sqlite3: sqlite3.dummy src/sqlite3/test.rs
27-
$(RUSTC) $(RUSTFLAGS) --test src/sqlite3/test.rs -o $@
14+
check-postgres: postgres.dummy src/test.rs
15+
$(RUSTC) $(RUSTFLAGS) --test src/test.rs -o $@
2816
./$@
2917

3018
.PHONY: clean

notes.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
File renamed without changes.

src/sql/lib.rs

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)