tuneup 0.3.6

  • readme.md
  • changelog.md
  • Installing
  • Versions
  • 52

tuneup.dart

A command-line tool to manipulate and inspect your Dart projects.

Build Status

Installing

To install, run:

pub global activate tuneup

Running

Run tuneup --help (or pub global run tuneup --help) to see a list of available commands.

  • init: create a new project
  • check: analyze all the source code in the project - fail if there are any errors (this is the default action)
  • stats: display metadata and statistics about the project
  • trim: trim unwanted whitespace from your source
  • clean: clean the project (remove the build/ directory)

Then run a tuneup command, like check:

pub global run tuneup check

or,

tuneup check

from the root of your project.

Filing Issues

Please file reports on the GitHub Issue Tracker.

Disclaimer

This is not an official Google product.

Changelog

0.3.6

  • updated pubspec dependencies for Dart 2

0.3.5

  • fix an issue where the --ignore-infos flag was ignored

0.3.4

  • add additional flags to the check command

0.3.3

  • upgrade package dependencies

0.3.2+2

  • better server crash reporting

0.3.2+1

  • fix an issue responding to analysis server crashes

0.3.2

  • add a --preview-dart-2 flag

0.3.1+3

  • pass the --client-id field into the analysis server

0.3.1+2

  • allow an sdk to be specified with --dart-sdk

0.3.1+1

  • fix an NPE when analyzing a directory without a pubspec.yaml file

0.3.0

  • re-write the check command to be based on the analysis server

0.2.6

  • rev to 0.30.0-alpha.1 of the analyzer
  • print error codes in the output (useful for // ignore: foo_bar comments)

0.2.5

  • rev to 0.28.1 of the analyzer

0.2.4

  • rev to the latest version of the analysis engine (0.27.4)

0.2.3

  • rev to the latest version of the analysis engine (0.27.4-alpha.13)

0.2.2

  • rev to the latest version of the analysis engine to capture some fixes to strong mode warnings

0.2.1

  • rev to the latest version of the analysis engine
  • support conditional directives and super mixins

0.2.0

  • bump version to 0.2.0

0.1.4

  • add support for .analysis_options file excludes
  • add support for strong mode analysis

0.1.3+1

  • fixed an issue with the check command on windows

0.1.3

  • upgraded the analyzer version to capture a change to analyzing unnamed libraries
  • added a --directory flag to support analyzing something besides the current working directory

0.1.2

  • fixed an issue analyzing libraries that were referred to by both self-references (package: references) and relative path references

0.1.1

  • added support for .packages files
  • added support for SDK extensions

0.1.0

  • upgraded to analyzer 0.26.0 and test 0.12.0

0.0.5

  • made check the default command

0.0.4

  • upgraded to the latest analyzer; now supports async / await syntax

0.0.3+1

  • bug fixes to the init command

0.0.3

  • added support for yaml files to trim

0.0.2

  • added a trim command
  • renamed analyze to check

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 tuneup

2. Use it

The package has the following executables:


$ tuneup

Use this package as a library

1. Depend on it

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


dependencies:
  tuneup: ^0.3.6

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 flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:tuneup/tuneup.dart';
  
Version Uploaded Documentation Archive
0.3.6 Jul 19, 2018 Go to the documentation of tuneup 0.3.6 Download tuneup 0.3.6 archive
0.3.5 Jul 11, 2018 Go to the documentation of tuneup 0.3.5 Download tuneup 0.3.5 archive
0.3.4 Jun 15, 2018 Go to the documentation of tuneup 0.3.4 Download tuneup 0.3.4 archive
0.3.3 Apr 7, 2018 Go to the documentation of tuneup 0.3.3 Download tuneup 0.3.3 archive
0.3.2+2 Dec 1, 2017 Go to the documentation of tuneup 0.3.2+2 Download tuneup 0.3.2+2 archive
0.3.2+1 Dec 1, 2017 Go to the documentation of tuneup 0.3.2+1 Download tuneup 0.3.2+1 archive
0.3.2 Dec 1, 2017 Go to the documentation of tuneup 0.3.2 Download tuneup 0.3.2 archive
0.3.1+3 Jun 3, 2017 Go to the documentation of tuneup 0.3.1+3 Download tuneup 0.3.1+3 archive
0.3.1+2 May 27, 2017 Go to the documentation of tuneup 0.3.1+2 Download tuneup 0.3.1+2 archive
0.3.1+1 May 24, 2017 Go to the documentation of tuneup 0.3.1+1 Download tuneup 0.3.1+1 archive

All 38 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
5
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
52
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 completed using:

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: Flutter, other

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

Suggestions

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 tuneup.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.23.0 <3.0.0
analysis_server_lib ^0.1.4 0.1.4+2
args ^1.0.0 1.5.0
cli_util ^0.1.2 0.1.3+2
intl ^0.15.0 0.15.7
logging ^0.11.0 0.11.3+2
path >=1.4.0 <2.0.0 1.6.2
quiver ^0.29.0 0.29.0+2 2.0.0+1
yaml >=2.0.0 <3.0.0 2.1.15
Transitive dependencies
charcode 1.1.2
collection 1.14.11
dart2_constant 1.0.2+dart2
matcher 0.12.4
meta 1.1.6
source_span 1.4.1
stack_trace 1.9.3
string_scanner 1.0.3
Dev dependencies
test ^1.0.0