Skip to content

Commit 3f80df0

Browse files
committed
wip: Move code to packages/tray_manager
1 parent 67dc668 commit 3f80df0

File tree

99 files changed

+249
-297
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+249
-297
lines changed

.github/workflows/build.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [main, dev]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build-linux:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: subosito/flutter-action@v2
15+
with:
16+
flutter-version: "3.19.2"
17+
channel: "stable"
18+
- run: |
19+
sudo apt-get update
20+
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
21+
sudo apt-get install -y keybinder-3.0
22+
- uses: bluefireteam/melos-action@v3
23+
- working-directory: ./packages/tray_manager/example
24+
run: |
25+
flutter build linux --release
26+
27+
build-macos:
28+
runs-on: macos-latest
29+
steps:
30+
- uses: actions/checkout@v3
31+
- uses: subosito/flutter-action@v2
32+
with:
33+
flutter-version: "3.19.2"
34+
channel: "stable"
35+
- uses: bluefireteam/melos-action@v3
36+
- working-directory: ./packages/tray_manager/example
37+
run: |
38+
flutter build macos --release
39+
40+
build-web:
41+
runs-on: macos-latest
42+
steps:
43+
- uses: actions/checkout@v3
44+
- uses: subosito/flutter-action@v2
45+
with:
46+
flutter-version: "3.19.2"
47+
channel: "stable"
48+
- uses: bluefireteam/melos-action@v3
49+
- working-directory: ./packages/tray_manager/example
50+
run: |
51+
flutter build web --release
52+
53+
build-windows:
54+
runs-on: windows-latest
55+
steps:
56+
- uses: actions/checkout@v3
57+
- uses: subosito/flutter-action@v2
58+
with:
59+
flutter-version: "3.19.2"
60+
channel: "stable"
61+
- uses: bluefireteam/melos-action@v3
62+
- working-directory: ./packages/tray_manager/example
63+
run: |
64+
flutter build windows --release

.github/workflows/lint.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: lint
2+
3+
on:
4+
push:
5+
branches: [main, dev]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
analyze:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: subosito/flutter-action@v2
15+
with:
16+
flutter-version: "3.19.2"
17+
channel: "stable"
18+
- uses: bluefireteam/melos-action@v3
19+
- run: melos run analyze
20+
21+
format:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v3
25+
- uses: subosito/flutter-action@v2
26+
with:
27+
flutter-version: "3.19.2"
28+
channel: "stable"
29+
cache: true
30+
- uses: bluefireteam/melos-action@v3
31+
- run: melos run format-check

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [main, dev]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: subosito/flutter-action@v2
15+
with:
16+
flutter-version: "3.19.2"
17+
channel: "stable"
18+
cache: true
19+
- uses: bluefireteam/melos-action@v3
20+
- run: melos run test --no-select

.gitignore

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,6 @@
1-
# Miscellaneous
2-
*.class
3-
*.log
4-
*.pyc
5-
*.swp
6-
.DS_Store
7-
.atom/
8-
.buildlog/
9-
.history
10-
.svn/
11-
migrate_working_dir/
12-
13-
# IntelliJ related
14-
*.iml
15-
*.ipr
16-
*.iws
1+
.dart_tool/
172
.idea/
183

19-
# The .vscode folder contains launch configuration and tasks you configure in
20-
# VS Code which you may wish to be included in version control, so this line
21-
# is commented out by default.
22-
#.vscode/
23-
24-
# Flutter/Dart/Pub related
25-
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
26-
/pubspec.lock
27-
**/doc/api/
28-
.dart_tool/
29-
build/
4+
*.iml
5+
pubspec_overrides.yaml
6+
pubspec.lock

example/pubspec.lock

Lines changed: 0 additions & 236 deletions
This file was deleted.

0 commit comments

Comments
 (0)