Skip to content

Commit

Permalink
Squashed commits
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Aug 22, 2024
1 parent b23879b commit 8ab1768
Show file tree
Hide file tree
Showing 18 changed files with 377 additions and 68 deletions.
4 changes: 4 additions & 0 deletions pkgs/intl4x/example_native/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# https://dart.dev/guides/libraries/private-files
# Created by `dart pub`
.dart_tool/
/bin/example_native/
2 changes: 2 additions & 0 deletions pkgs/intl4x/example_native/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
A sample command-line application with an entrypoint in `bin/`, library code
in `lib/`, and example unit test in `test/`.
30 changes: 30 additions & 0 deletions pkgs/intl4x/example_native/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file configures the static analysis results for your project (errors,
# warnings, and lints).
#
# This enables the 'recommended' set of lints from `package:lints`.
# This set helps identify many issues that may lead to problems when running
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
# style and format.
#
# If you want a smaller set of lints you can change this to specify
# 'package:lints/core.yaml'. These are just the most critical lints
# (the recommended set includes the core lints).
# The core lints are also what is used by pub.dev for scoring packages.

include: package:lints/recommended.yaml

# Uncomment the following section to specify additional rules.

# linter:
# rules:
# - camel_case_types

# analyzer:
# exclude:
# - path/to/excluded/files/**

# For more information about the core and recommended set of lints, see
# https://dart.dev/go/core-lints

# For additional information about configuring this file, see
# https://dart.dev/guides/language/analysis-options
6 changes: 6 additions & 0 deletions pkgs/intl4x/example_native/bin/example_native.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import 'package:intl4x/intl4x.dart';

void main(List<String> arguments) {
final intl = Intl();
print('collation: ${intl.collation().compare('a', 'b')}!');
}
17 changes: 17 additions & 0 deletions pkgs/intl4x/example_native/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: example_native
description: A sample command-line application.
version: 1.0.0
# repository: https://github.com/my_org/my_repo

publish_to: none

environment:
sdk: ^3.6.0-78.0.dev

dependencies:
intl4x:
path: ../

dev_dependencies:
lints: ^4.0.0
test: ^1.24.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 8ab1768

Please sign in to comment.