cux_buildnumber 0.1.0
cux_buildnumber: ^0.1.0 copied to clipboard
Monotonic build numbers shared through git refs — a Dart port of git-buildnumber.sh v1.3. A library plus a bin/ entrypoint; the only runtime dependency is git on PATH.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cux_buildnumberWith Flutter:
$ flutter pub add cux_buildnumberThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
cux_buildnumber: ^0.1.0Alternatively, 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:cux_buildnumber/cux_buildnumber.dart';