Skip to content

Commit

Permalink
wip: Move code to packages/tray_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Sep 26, 2024
1 parent 67dc668 commit 3f80df0
Show file tree
Hide file tree
Showing 99 changed files with 249 additions and 297 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: build

on:
push:
branches: [main, dev]
pull_request:
branches: [main]

jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.2"
channel: "stable"
- run: |
sudo apt-get update
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
sudo apt-get install -y keybinder-3.0
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/tray_manager/example
run: |
flutter build linux --release
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.2"
channel: "stable"
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/tray_manager/example
run: |
flutter build macos --release
build-web:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.2"
channel: "stable"
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/tray_manager/example
run: |
flutter build web --release
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.2"
channel: "stable"
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/tray_manager/example
run: |
flutter build windows --release
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: lint

on:
push:
branches: [main, dev]
pull_request:
branches: [main]

jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.2"
channel: "stable"
- uses: bluefireteam/melos-action@v3
- run: melos run analyze

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.2"
channel: "stable"
cache: true
- uses: bluefireteam/melos-action@v3
- run: melos run format-check
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: test

on:
push:
branches: [main, dev]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.2"
channel: "stable"
cache: true
- uses: bluefireteam/melos-action@v3
- run: melos run test --no-select
31 changes: 4 additions & 27 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,29 +1,6 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.dart_tool/
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
.dart_tool/
build/
*.iml
pubspec_overrides.yaml
pubspec.lock
236 changes: 0 additions & 236 deletions example/pubspec.lock

This file was deleted.

Loading

0 comments on commit 3f80df0

Please sign in to comment.