This is a minimal build system to help people experiment with
pub global activate devc_builder.
Launch the build with the following command:
devc_builder main_package_path output_directory main_file_path
main_package_pathis the path to the main package to build
output_directoryguess what it is ?
main_file_pathis the relative path of the file (without the extension) inside the main package where your
devc_builder my_app out index
will build the app inside
my_app folder (that should be already "pub getted") in folder
out using the file
my_app/lib/index.dart as entry point.
This tool will transitively examine the main package dependencies and produce a single
js module for each. All the
.dart file inside any package
will be considered for compilation, all the other files copied to the output.
hosted packages will be cached inside the folder
.repo and reused for the next build.
Then it will create an
index.html that will load all the dependencies and execute the
main function in the
index.html will be created with this template:
<html> <head> <script> 'use strict'; </script> @IMPORT_SCRIPTS@ @BOOTSTRAP@ </head> <body> </body> </html>
You can provide your own template in
mainfunction in the main file
You can test the results using a recent
chrome or translate it with
vulcanize/ etc. etc.
build(can it be done ? how to handle group of sources?)
You can install the package from the command line:
$ pub global activate devc_builder
The package has the following executables:
|0.1.2+1||Aug 9, 2016|
|0.1.2||Aug 9, 2016|
|0.1.1||Aug 5, 2016|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
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.
Support Dart 2 in
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://dart.dev/dart-2#migration.
dartdoc successfully runs on your package's source files. (-10 points)
Dependencies were not resolved.