Do you ever want to
pub build into another branch? This is your ticket.
> pub global activate peanut
~/my_dart_proj/ > peanut
To create (or update) your local
gh-pages branch to match what's on the server.
> git update-ref refs/heads/gh-pages origin/gh-pages
This is also useful if you want to undo a
> peanut --help
-d, --directory (defaults to "web") -b, --branch (defaults to "gh-pages") -m, --message (defaults to "Built <directory>") -h, --help
runInShellto make things work on Windows.
You can install the package from the command line:
$ pub global activate peanut
The package has the following executables:
Add this to your package's pubspec.yaml file:
dependencies: peanut: ^0.0.1+2
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|3.2.0||May 6, 2019|
|3.1.1||May 3, 2019|
|3.1.0||May 1, 2019|
|3.0.3||Apr 25, 2019|
|3.0.2||Apr 24, 2019|
|3.0.1||Apr 23, 2019|
|3.0.0||Apr 23, 2019|
|2.0.8||Dec 11, 2018|
|2.0.7||Sep 27, 2018|
|2.0.6||Aug 6, 2018|