mirror of https://github.com/flutter/pinball.git
feat(share_repository): created the dart package (#215)
* feat(share_repository): created the dart package * chore: updated descriptionpull/228/head
parent
7cc41231a9
commit
169fb2c2d5
@ -0,0 +1,18 @@
|
||||
name: share_repository
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "packages/share_repository/**"
|
||||
- ".github/workflows/share_repository.yaml"
|
||||
|
||||
pull_request:
|
||||
paths:
|
||||
- "packages/share_repository/**"
|
||||
- ".github/workflows/share_repository.yaml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
working_directory: packages/share_repository
|
@ -0,0 +1,7 @@
|
||||
# See https://www.dartlang.org/guides/libraries/private-files
|
||||
|
||||
# Files and directories created by pub
|
||||
.dart_tool/
|
||||
.packages
|
||||
build/
|
||||
pubspec.lock
|
@ -0,0 +1,11 @@
|
||||
# share_repository
|
||||
|
||||
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
|
||||
[![License: MIT][license_badge]][license_link]
|
||||
|
||||
Repository to facilitate sharing scores.
|
||||
|
||||
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||
[license_link]: https://opensource.org/licenses/MIT
|
||||
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
|
||||
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
|
@ -0,0 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.2.4.0.yaml
|
@ -0,0 +1,3 @@
|
||||
library share_repository;
|
||||
|
||||
export 'src/share_repository.dart';
|
@ -0,0 +1,7 @@
|
||||
/// {@template share_repository}
|
||||
/// Repository to facilitate sharing scores.
|
||||
/// {@endtemplate}
|
||||
class ShareRepository {
|
||||
/// {@macro share_repository}
|
||||
const ShareRepository();
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
name: share_repository
|
||||
description: Repository to facilitate sharing scores.
|
||||
version: 1.0.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.16.0 <3.0.0"
|
||||
|
||||
dev_dependencies:
|
||||
coverage: ^1.1.0
|
||||
mocktail: ^0.2.0
|
||||
test: ^1.19.2
|
||||
very_good_analysis: ^2.4.0
|
@ -0,0 +1,11 @@
|
||||
// ignore_for_file: prefer_const_constructors
|
||||
import 'package:share_repository/share_repository.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
void main() {
|
||||
group('ShareRepository', () {
|
||||
test('can be instantiated', () {
|
||||
expect(ShareRepository(), isNotNull);
|
||||
});
|
||||
});
|
||||
}
|
Loading…
Reference in new issue