Skip to content

Commit

Permalink
Merge pull request #66 from bcc-code/chore/upgrade-pigeon
Browse files Browse the repository at this point in the history
Chore/upgrade pigeon
  • Loading branch information
andreasgangso authored Aug 15, 2024
2 parents 3029933 + a5de5f9 commit a8a1fdf
Show file tree
Hide file tree
Showing 31 changed files with 3,520 additions and 2,458 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*.dart]
max_line_length = 150

[*.kt]
max_line_length = 150
14 changes: 11 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
.PHONY: publish
.PHONY: publish pigeons help

BUILD_NUMBER=$(shell grep -i -e "version: " pubspec.yaml | cut -d " " -f 2)

publish:
# From https://stackoverflow.com/a/64996042
help:
@egrep -h '\s##\s' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m %-30s\033[0m %s\n", $$1, $$2}'


publish: ## Publish the package to pub.dev
read -p "Release v${BUILD_NUMBER}? (CTRL+C to abort)"
git tag v${BUILD_NUMBER}
git push origin v${BUILD_NUMBER}
dart pub publish
mkdocs gh-deploy
mkdocs gh-deploy

pigeons: ## Generate pigeon files
for f in pigeons/*.dart; do dart run pigeon --input $$f; done

Large diffs are not rendered by default.

Loading

0 comments on commit a8a1fdf

Please sign in to comment.