dart_updater 0.4.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 50

dart_updater

A command line application to update the Dart SDK for Linux x64 systems.

Installation

pub global activate dart_updater

Requirements

To use dart_updater, you must add 2 variables to your environment variables :

  • DART_SDK_PATH : Path where the Dart SDK will be installed.

You should also have a standalone Dart version somewhere on your system to run this package. But once you run it once, you can always keep your SDK up-to-date.

Example usage

Showing help

$ dart_updater --help

Showing help for specific command

$ dart_updater upgrade --help

Updating to dev/release

$ dart_updater upgrade -c dev/release

Updating to stable/release

$ dart_updater upgrade -c stable/release

Changelog

0.4.0

  • Added switch to be able to install specific version of the SDK.

0.3.0

  • Removed Dartium support
  • Added dev compiler support
  • Updated Dependencies

0.2.0

  • Updated Readme/Changelog

0.1.0

  • Added support for environment variables for dartium and dart-sdk
  • Testing a viable version

0.0.1

  • Initial version, created by Stagehand

1. Depend on it

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


dependencies:
  dart_updater: "^0.4.0"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:dart_updater/dart_updater.dart';
        
Version Uploaded Documentation Archive
0.4.0 Nov 9, 2017 Go to the documentation of dart_updater 0.4.0 Download dart_updater 0.4.0 archive
0.3.0 Oct 15, 2017 Go to the documentation of dart_updater 0.3.0 Download dart_updater 0.3.0 archive
0.2.0 Apr 18, 2017 Go to the documentation of dart_updater 0.2.0 Download dart_updater 0.2.0 archive
0.1.1 Mar 24, 2016 Go to the documentation of dart_updater 0.1.1 Download dart_updater 0.1.1 archive
0.1.0 Sep 17, 2015 Go to the documentation of dart_updater 0.1.0 Download dart_updater 0.1.0 archive
0.0.42 Sep 17, 2015 Go to the documentation of dart_updater 0.0.42 Download dart_updater 0.0.42 archive
0.0.41 Jul 31, 2015 Go to the documentation of dart_updater 0.0.41 Download dart_updater 0.0.41 archive
0.0.4 Jul 31, 2015 Go to the documentation of dart_updater 0.0.4 Download dart_updater 0.0.4 archive
0.0.3 Jul 30, 2015 Go to the documentation of dart_updater 0.0.3 Download dart_updater 0.0.3 archive
0.0.2 Jul 30, 2015 Go to the documentation of dart_updater 0.0.2 Download dart_updater 0.0.2 archive

All 11 versions...

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
100 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
50

Platforms

Detected platforms: Flutter, other

Primary library: package:dart_updater/dart_updater.dart with components: io.

Suggestions

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use dart_updater.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.11.1 <3.0.0
analyzer ^0.27.2 0.27.6 0.31.0+1
archive ^1.0.20 1.0.33
http ^0.11.3+16 0.11.3+16
logging ^0.11.2 0.11.3+1
unscripted ^0.6.2 0.6.2
Transitive dependencies
ansicolor 0.0.9
args 0.13.7 1.3.0
async 2.0.3
charcode 1.1.1
collection 1.14.5
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
glob 1.1.5
html 0.13.2+2
http_parser 3.1.1
isolate 0.2.3 1.1.0
mockable_filesystem 0.0.3
package_config 1.0.3
path 1.5.1
plugin 0.2.0+2
source_span 1.4.0
string_scanner 1.0.2
supports_color 0.1.1
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
yaml 2.1.13
Dev dependencies
test ^0.12.13