repo_pub_server 1.2.0
repo_pub_server: ^1.2.0 copied to clipboard
Builds a static pub server from the package you develop, enabling you to provide continuous delivery of your bleeding edge dart package builds.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate repo_pub_server
Use it
The package has the following executables:
$ repo_pub_server
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add repo_pub_server
With Flutter:
$ flutter pub add repo_pub_server
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
repo_pub_server: ^1.2.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:repo_pub_server/api_data_model.dart';
import 'package:repo_pub_server/api_data_model.g.dart';
import 'package:repo_pub_server/git_date_parser.dart';
import 'package:repo_pub_server/version_model.dart';
import 'package:repo_pub_server/version_model.g.dart';