-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 869 Bytes
/
Makefile
File metadata and controls
33 lines (26 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
all: spec sample
spec: basic migration
basic:
crystal spec
crystal spec ./spec/model/sqlite3.cr
crystal spec ./spec/model/mysql.cr
crystal spec ./spec/model/pg.cr
migration: mig-test-sqlite3 mig-test-mysql mig-test-pg
mig-test-sqlite3:
crystal spec ./spec/model/migration/sqlite3_before.cr
crystal spec ./spec/model/migration/sqlite3_exec.cr
mig-test-mysql:
crystal spec ./spec/model/migration/mysql_before.cr
crystal spec ./spec/model/migration/mysql_exec.cr
mig-test-pg:
crystal spec ./spec/model/migration/pg_before.cr
crystal spec ./spec/model/migration/pg_exec.cr
sample:
crystal run ./samples/model.cr
crystal run ./samples/association.cr
crystal run ./samples/json.cr
crystal run ./samples/transaction.cr
crystal run ./samples/migration.cr
crystal run ./samples/time.cr
crystal run ./samples/nullable.cr
crystal run ./samples/default.cr