Skip to content

Commit 6a24a65

Browse files
committed
first commit
0 parents  commit 6a24a65

File tree

9 files changed

+129
-0
lines changed

9 files changed

+129
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Dependabot configuration file.
2+
version: 2
3+
4+
updates:
5+
- package-ecosystem: github-actions
6+
directory: /
7+
schedule:
8+
interval: monthly
9+
labels:
10+
- autosubmit
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Dart
2+
3+
on:
4+
schedule:
5+
# “At 00:00 (UTC) on Sunday.”
6+
- cron: '0 0 * * 0'
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
12+
# Declare default permissions as read only.
13+
permissions: read-all
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
# These are the latest versions of the github actions; dependabot will
21+
# send PRs to keep these up-to-date.
22+
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
23+
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
24+
25+
- name: Install dependencies
26+
run: dart pub get
27+
28+
- name: Verify formatting
29+
run: dart format --output=none --set-exit-if-changed .
30+
31+
- name: Analyze project source
32+
run: dart analyze --fatal-infos
33+
34+
# - name: Run tests
35+
# run: dart test
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Files and directories created by pub.
2+
.dart_tool/
3+
.packages
4+
5+
# Conventional directory for build outputs.
6+
build/
7+
8+
# Omit committing pubspec.lock for library packages; see
9+
# https://dart.dev/guides/libraries/private-files#pubspeclock.
10+
pubspec.lock
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 0.1.0-wip
2+
3+
- Initial version.

pkgs/native_synchronization/LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright 2023, the Dart project authors.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above
10+
copyright notice, this list of conditions and the following
11+
disclaimer in the documentation and/or other materials provided
12+
with the distribution.
13+
* Neither the name of Google LLC nor the names of its
14+
contributors may be used to endorse or promote products derived
15+
from this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

pkgs/native_synchronization/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[![Dart](https://github.com/dart-lang/native_synchronization/actions/workflows/dart.yaml/badge.svg)](https://github.com/dart-lang/native_synchronization/actions/workflows/dart.yaml)
2+
3+
Low level synchronization primitives built on dart:ffi.
4+
5+
## TODO: Projects docs
6+
7+
TODO: Add a brief project description here.
8+
9+
## Status: experimental
10+
11+
**NOTE**: This package is currently experimental and published under the
12+
[labs.dart.dev](https://dart.dev/dart-team-packages) pub publisher in order to
13+
solicit feedback.
14+
15+
For packages in the labs.dart.dev publisher we generally plan to either graduate
16+
the package into a supported publisher (dart.dev, tools.dart.dev) after a period
17+
of feedback and iteration, or discontinue the package. These packages have a
18+
much higher expected rate of API and breaking changes.
19+
20+
Your feedback is valuable and will help us evolve this package. For general
21+
feedback, suggestions, and comments, please file an issue in the
22+
[bug tracker](https://github.com/dart-lang/native_synchronization/issues).
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include: package:dart_flutter_team_lints/analysis_options.yaml
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
5+
void main(List<String> args) {
6+
print('hello world');
7+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: native_synchronization
2+
description: Low level synchronization primitives built on dart:ffi.
3+
version: 0.1.0-wip
4+
repository: https://github.com/dart-lang/native_synchronization
5+
6+
environment:
7+
sdk: ^3.0.0
8+
9+
dependencies:
10+
# lib_name: ^1.2.0
11+
12+
dev_dependencies:
13+
dart_flutter_team_lints: ^1.0.0
14+
test: ^1.16.0

0 commit comments

Comments
 (0)