-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
:fix: clone owid-content during "make up" if missing
The grapher repo cannot build explorers without `owid-content`, so make sure it's there.
- Loading branch information
1 parent
7c0f25d
commit 6012137
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ help: | |
|
||
up: export DEBUG = 'knex:query' | ||
|
||
up: require create-if-missing.env tmp-downloads/owid_metadata.sql.gz | ||
up: require create-if-missing.env ../owid-content tmp-downloads/owid_metadata.sql.gz | ||
@make validate.env | ||
@make check-port-3306 | ||
@echo '==> Building grapher' | ||
|
@@ -98,7 +98,7 @@ up.devcontainer: create-if-missing.env.devcontainer tmp-downloads/owid_metadata. | |
|
||
up.full: export DEBUG = 'knex:query' | ||
|
||
up.full: require create-if-missing.env.full wordpress/.env tmp-downloads/owid_metadata.sql.gz tmp-downloads/live_wordpress.sql.gz wordpress/web/app/uploads/2022 | ||
up.full: require create-if-missing.env.full ../owid-content wordpress/.env tmp-downloads/owid_metadata.sql.gz tmp-downloads/live_wordpress.sql.gz wordpress/web/app/uploads/2022 | ||
@make validate.env.full | ||
@make check-port-3306 | ||
|
||
|
@@ -331,3 +331,7 @@ svgtest: ../owid-grapher-svgs | |
|
||
@# summarize differences | ||
cd ../owid-grapher-svgs && git diff --stat | ||
|
||
../owid-content: | ||
@echo '==> Cloning owid-content to ../owid-content' | ||
cd .. && git clone [email protected]:owid/owid-content |