crossdart 0.4.6

  • README.md
  • Installing
  • Versions
  • 0

Crossdart

Note: If you're looking the source code for Crossdart Chrome Extension, it's there: https://github.com/astashov/crossdart-chrome-extension

Analyzes source code of a given project, and emits one of the following:

  • HTML pages with hyperlinked source code of the project.
  • JSON file with the analysis data.
  • Github version of the JSON file with the analysis data (for Crossdart Chrome Extension)

Installation

Install it via pub global activate crossdart.

Usage

Run it as pub global run crossdart.

Required arguments:

  • --input - path to your project
  • --dart-sdk - path to Dart SDK

Optional arguments:

  • --output - where to place the output (HTML or JSON). Will be the same as --input if omitted.
  • --hosted-url - URL of Crossdart's site. https://www.crossdart.info by default.
  • --url-path-prefix - path prefix on the Crossdart's site. p by default.
  • --output-format - output format. Could be github, html or json. github by default.

Example

$ pub global run crossdart --input=/home/john/my_dart_project --dart-sdk=/usr/lib/dart
$ pub global run crossdart --input=/home/john/my_dart_project --dart-sdk=/usr/lib/dart --output=/home/john/crossdart-output --output-format=html

Contributing

Please use Github's bug tracker for bugs. Pull Requests are welcome.

Use this package as a library

1. Depend on it

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


dependencies:
  crossdart: ^0.4.6

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.

Version Uploaded Documentation Archive
0.4.6 Sep 7, 2016 Go to the documentation of crossdart 0.4.6 Download crossdart 0.4.6 archive
0.4.5 Aug 1, 2016 Go to the documentation of crossdart 0.4.5 Download crossdart 0.4.5 archive
0.4.4 Aug 1, 2016 Go to the documentation of crossdart 0.4.4 Download crossdart 0.4.4 archive
0.4.3 Jul 31, 2016 Go to the documentation of crossdart 0.4.3 Download crossdart 0.4.3 archive
0.4.2 Jun 7, 2016 Go to the documentation of crossdart 0.4.2 Download crossdart 0.4.2 archive
0.4.1 Jun 6, 2016 Go to the documentation of crossdart 0.4.1 Download crossdart 0.4.1 archive
0.4.0 Jun 6, 2016 Go to the documentation of crossdart 0.4.0 Download crossdart 0.4.0 archive
0.3.1 Jun 3, 2016 Go to the documentation of crossdart 0.3.1 Download crossdart 0.3.1 archive
0.3.0 Jun 3, 2016 Go to the documentation of crossdart 0.3.0 Download crossdart 0.3.0 archive
0.2.7 Jun 2, 2016 Go to the documentation of crossdart 0.2.7 Download crossdart 0.2.7 archive

All 30 versions...

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

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Maintenance issues and suggestions

Running dartdoc failed. (-10 points)

Make sure dartdoc runs without any issues.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.16.0 <2.0.0