Skip to content

Commit

Permalink
chore: added publish and dry-run to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gbassisp committed Oct 24, 2023
1 parent 0a5d8c1 commit f3bc5f3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ export PATH := $(HOME)/.pub-cache/bin:$(PATH)


.PHONY: all
all: version get test analyze doc
all: version get dry-run test analyze doc

.PHONY: publish
publish: all
@echo "Publishing package..."
$(DART_CMD) pub publish --force

.PHONY: dry-run
dry-run:
@echo "Running dry-run..."
$(DART_CMD) pub publish --dry-run


.PHONY: test
test:
Expand Down

0 comments on commit f3bc5f3

Please sign in to comment.