Commit e59a249
committed
fix(Makefile): don't export DATABASE_URL from .env
Kept running into issues where if I tried to compile the project from
the Makefile I would get a bunch of errors from SQLx but if I ran the
exact same commands in the shell it would be fine. Apparently the
problem was that SQLx expects the DATABASE_URL var to be a regular shell
variable, which it's not if it's exported by Make.
The fix is to not export the Make var and now everything works.1 parent 444ed8e commit e59a249
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments