Skip to content

Commit

Permalink
Merge branch 'master' into feat-onchain
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 authored Jan 17, 2024
2 parents 89190a7 + 202af72 commit ddc1645
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Spelling
on:
push:
branches: ["master"]
pull_request:
branches: [master]
branches: ["master"]

jobs:
spelling:
Expand Down
5 changes: 3 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export CFLAGS := ""

DB_URL := "postgres://postgres:postgres@localhost/moksha-mint"

# list all tasks
default:
Expand Down Expand Up @@ -123,7 +124,7 @@ build-wasm:
# runs sqlx prepare
db-prepare:
cd moksha-mint && \
cargo sqlx prepare --database-url postgres://postgres:postgres@127.0.0.1/moksha-mint
cargo sqlx prepare --database-url {{ DB_URL }}

# runs sqlx prepare
db-migrate:
Expand All @@ -133,7 +134,7 @@ db-migrate:
# creates the postgres database
db-create:
cd moksha-mint && \
cargo sqlx database create --database-url postgres://postgres:postgres@localhost/moksha-mint
cargo sqlx database create --database-url {{ DB_URL }}

# starts the fly.io database proxy
start-fly-proxy:
Expand Down

0 comments on commit ddc1645

Please sign in to comment.