add init_db rule
This commit is contained in:
8
makefile
8
makefile
@ -43,3 +43,11 @@ dronefile:
|
|||||||
-V target_arch=${TARGET_ARCH}
|
-V target_arch=${TARGET_ARCH}
|
||||||
drone sign frx/altherego --save
|
drone sign frx/altherego --save
|
||||||
.PHONY: dronefile
|
.PHONY: dronefile
|
||||||
|
|
||||||
|
init_db:
|
||||||
|
rm -rf .testdata
|
||||||
|
mkdir .testdata
|
||||||
|
sqlite3 -init ./db/001_initial.sql ./.testdata/db.sqlite '.q'
|
||||||
|
|
||||||
|
open_db:
|
||||||
|
sqlite3 ./.testdata/db.sqlite
|
||||||
|
|||||||
Reference in New Issue
Block a user