-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from bcc-code/chore/upgrade-pigeon
Chore/upgrade pigeon
- Loading branch information
Showing
31 changed files
with
3,520 additions
and
2,458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
300 changes: 236 additions & 64 deletions
300
android/src/main/java/media/bcc/bccm_player/pigeon/ChromecastControllerPigeon.java
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.