peanut 0.0.1+2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • --

Do you ever want to pub build into another branch? This is your ticket.

Install #

> pub global activate peanut

Run #

~/my_dart_proj/ > peanut

Git tricks #

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 run.

Options #

> peanut --help
-d, --directory    (defaults to "web")
-b, --branch       (defaults to "gh-pages")
-m, --message      (defaults to "Built <directory>")
-h, --help

0.0.1+2 #

  • Run pub with runInShell to make things work on Windows.

0.0.1+1 #

  • Added instructions to README.md.

0.0.1 #

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate peanut

2. Use it

The package has the following executables:


$ peanut

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  peanut: ^0.0.1+2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:peanut/peanut.dart';
  
Version Uploaded Documentation Archive
3.2.0 May 6, 2019 Go to the documentation of peanut 3.2.0 Download peanut 3.2.0 archive
3.1.1 May 3, 2019 Go to the documentation of peanut 3.1.1 Download peanut 3.1.1 archive
3.1.0 May 1, 2019 Go to the documentation of peanut 3.1.0 Download peanut 3.1.0 archive
3.0.3 Apr 25, 2019 Go to the documentation of peanut 3.0.3 Download peanut 3.0.3 archive
3.0.2 Apr 24, 2019 Go to the documentation of peanut 3.0.2 Download peanut 3.0.2 archive
3.0.1 Apr 23, 2019 Go to the documentation of peanut 3.0.1 Download peanut 3.0.1 archive
3.0.0 Apr 23, 2019 Go to the documentation of peanut 3.0.0 Download peanut 3.0.0 archive
2.0.8 Dec 11, 2018 Go to the documentation of peanut 2.0.8 Download peanut 2.0.8 archive
2.0.7 Sep 27, 2018 Go to the documentation of peanut 2.0.7 Download peanut 2.0.7 archive
2.0.6 Aug 6, 2018 Go to the documentation of peanut 2.0.6 Download peanut 2.0.6 archive

All 29 versions...

Awaiting analysis to complete.