Skip to content

Commit

Permalink
Refactor- add indent at line break on Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Iovesophy committed Jun 13, 2023
1 parent ca2f9b5 commit 4a43368
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,36 +21,37 @@ clone:
.PHONY: reticulum
reticulum:
@printf "$(prefix)Initializing Reticulum$(suffix)" && \
docker-compose -f $(composefile) build reticulum && \
mutagen-compose -f $(composefile) run --rm reticulum sh -c 'trapped-mix do deps.get, deps.compile, ecto.create'
docker-compose -f $(composefile) build reticulum && \
mutagen-compose -f $(composefile) run --rm reticulum \
sh -c 'trapped-mix do deps.get, deps.compile, ecto.create'

.PHONY: dialog
dialog:
@printf "$(prefix)Initializing Dialog$(suffix)" && \
docker-compose -f $(composefile) build dialog && \
mutagen-compose -f $(composefile) run --rm dialog conditional-npm-ci
docker-compose -f $(composefile) build dialog && \
mutagen-compose -f $(composefile) run --rm dialog conditional-npm-ci

.PHONY: hubs-admin
hubs-admin:
@printf "$(prefix)Initializing Hubs Admin$(suffix)" && \
docker-compose -f $(composefile) build hubs-admin && \
mutagen-compose -f $(composefile) run --rm hubs-admin conditional-npm-ci
docker-compose -f $(composefile) build hubs-admin && \
mutagen-compose -f $(composefile) run --rm hubs-admin conditional-npm-ci

.PHONY: hubs-client
hubs-client:
@printf "$(prefix)Initializing Hubs Client$(suffix)" && \
docker-compose -f $(composefile) build hubs-client && \
mutagen-compose -f $(composefile) run --rm hubs-client conditional-npm-ci
docker-compose -f $(composefile) build hubs-client && \
mutagen-compose -f $(composefile) run --rm hubs-client conditional-npm-ci

.PHONY: spoke
spoke:
@printf "$(prefix)Initializing Spoke$(suffix)" && \
mutagen-compose -f $(composefile) run --rm spoke yarn install
mutagen-compose -f $(composefile) run --rm spoke yarn install

.PHONY: init
init: check clone reticulum dialog hubs-admin hubs-client spoke
@printf "$(prefix)Done$(suffix)" && \
mutagen-compose down
mutagen-compose down

.PHONY: up
up:
Expand Down

0 comments on commit 4a43368

Please sign in to comment.