{"repo":"kevmoo/peanut.dart","free":true,"listed":false,"github":"https://github.com/kevmoo/peanut.dart","clone":"git clone https://github.com/kevmoo/peanut.dart.git","description":"Easily build and deploy your Dart web app to GitHub pages","language":"Dart","stars":239,"topics":["dart","flutter"],"license":"BSD-3-Clause","category":"mobile-apps","readme_excerpt":"Run flutter build web or dart pub run build runner build and put the output in another branch. An easy way to update gh-pages. Install or Run or This will build your project into a temporary directory, and then it will update the local gh-pages branch with the build output. Read more about peanut in this article. Options Configuration file peanut also supports a configuration file. Convenient if you have one-off settings you'd rather not type every time you deploy. The peanut.yaml from this repository: Post-build Dart script You can optionally specify a Dart script to run after the build is complete, but before the changes are committed. This script is run from the root of the package. It receives two arguments: 1. The path to a temporary directory which contains the build output. For example, if you are building a single directory web , the output will be in a web subdirectory of this temporary directory. 2. A JSON-encoded map where keys are the source directories that were built, and values are the corresponding output sub-directories within the temporary directory from the first argument. For example, if you run peanut -d web , the script will be called with: - args[0] : /tmp/peanut.xyz (a temporary path) - args[1] : {\"web\":\".\"} The index.html for the web build would be at /tmp/peanut.xyz/index.html . Examples - https://github.com/dart-lang/sample-pop pop win/ - Output: https://dart-lang.github.io/sample-pop pop win/ - No custom configuration. - https://github.com/kevmoo/p","default_branch":null,"files":null,"tree":[],"storefront":"/r/kevmoo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kevmoo/peanut.dart/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}