Skip to content

Commit

Permalink
[feature] Move menu-api in wp-ops's docker folder
Browse files Browse the repository at this point in the history
This also fix the "menu-api" not found on bare install
  • Loading branch information
ponsfrilus committed Sep 19, 2024
1 parent 45c15ad commit 3f371cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ checkout: \
$(WP_CONTENT_DIR)/mu-plugins \
$(WP_CLI_DIR) \
$(POLYLANG_CLI_DIR) \
menu-api \
wp-ops \
wp-ops/docker/menu-api \
volumes/usrlocalbin

git_clone = mkdir -p $(dir $@) || true; devscripts/ensure-git-clone.sh $(_GITHUB_BASE)$(strip $(1)) $@; touch $@
Expand Down Expand Up @@ -282,8 +282,9 @@ wp-ops:
$(call git_clone, epfl-si/wp-ops)
$(MAKE) -C wp-ops checkout

menu-api:
$(call git_clone, epfl-si/wp-menu-api)
wp-ops/docker/menu-api: wp-ops
$(call git_clone, epfl-si/wp-menu-api $@)
menu-api: wp-ops/docker/menu-api

################ Building or pulling Docker images ###############

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ services:

menu-api:
container_name: menu-api
build: menu-api
build: wp-ops/docker/menu-api

0 comments on commit 3f371cd

Please sign in to comment.