Skip to content

Commit 59eadf6

Browse files
committed
adds serverless make commands
1 parent 818244a commit 59eadf6

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docker/Makefile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ composer-install-prod:
4242
$(RUN) composer install --prefer-dist --optimize-autoloader --no-dev
4343
.PHONY: composer-install-prod
4444

45+
serverless-remove:
46+
$(RUN) serverless remove --stage dev
47+
.PHONY: serverless-remove
48+
49+
# DEBUG
50+
serverless-print:
51+
$(RUN) serverless print --stage dev
52+
.PHONY: serverless-print
53+
4554
# LOCAL EXECUTION
4655
function-test:
4756
$(RUN) serverless invoke local --stage dev -f function
@@ -50,4 +59,8 @@ function-test:
5059
# CLOUD EXECUTION
5160
function-invoke:
5261
$(RUN) serverless invoke --stage dev --function function --data "hello world"
53-
.PHONY: function-invoke
62+
.PHONY: function-invoke
63+
64+
http-logs:
65+
$(RUN) serverless logs --stage dev --function http --tail
66+
.PHONY: http-logs

0 commit comments

Comments
 (0)