mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-21 19:29:49 -04:00
Fix sqlx-prepare in makefile
This commit is contained in:
parent
3b3003510d
commit
3f53201a33
5
Makefile
5
Makefile
@ -12,6 +12,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
mkfile_dir := $(dir $(mkfile_path))
|
||||
|
||||
kitchen: wasm kitchen/src/*.rs
|
||||
cd kitchen; cargo build
|
||||
|
||||
@ -38,4 +41,4 @@ clean:
|
||||
cargo clean
|
||||
|
||||
sqlx-prepare:
|
||||
cd kitchen; cargo sqlx prepare --database-url sqlite://\$(pwd)/../.session_store/store.db
|
||||
cd kitchen; cargo sqlx prepare --database-url sqlite://$(mkfile_dir)/.session_store/store.db
|
||||
|
Loading…
x
Reference in New Issue
Block a user