dart_updater 0.4.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 46

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

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate dart_updater

2. Use it

The package has the following executables:


$ dart_updater

Use this package as a library

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

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

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

We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status tool failures using:

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: unsure

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Issues and suggestions

Fix dependencies in pubspec.yaml.

Running pub upgrade failed with the following output:

ERR: The current Dart SDK version is 2.0.0.
 
 Because dart_updater depends on unscripted >=0.0.2 which requires SDK version <2.0.0, version solving failed.

Fix platform conflicts.

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

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 of the 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.

Read more about the setup of analysis-options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.11.1 <3.0.0