Skip to content

Commit

Permalink
chore: shorten make command (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumachan-mis authored Jan 1, 2025
1 parent 3788b3e commit f7f19ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ generate:

.PHONY: start-firestore-emulator edit-firestore-emulator-fixtures

start-firestore-emulator:
db:
firebase emulators:start --only firestore --import ${FIXTURES_DIR}

edit-firestore-emulator-fixtures:
edit-db:
firebase emulators:start --only firestore --import ${FIXTURES_DIR} --export-on-exit

.PHONY: start-docs-server stop-docs-server build-docs gen-openapi-go gen-openapi-node

start-docs-server:
start-docs:
@docker run --detach --name ${OPEN_API_DOCS_SERVER} -v "${API_REPOSITORY_ROOT}:/api" -p 8081:8081 \
redocly/cli preview-docs \
/api/${OPEN_API_INDEX} \
Expand All @@ -70,7 +70,7 @@ start-docs-server:

@echo "OpenAPI docs server started at http://localhost:8081"

stop-docs-server:
stop-docs:
@docker stop ${OPEN_API_DOCS_SERVER} 1> /dev/null
@docker rm ${OPEN_API_DOCS_SERVER} 1> /dev/null

Expand Down

0 comments on commit f7f19ea

Please sign in to comment.