Skip to content

Commit

Permalink
build & tool changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed May 16, 2024
1 parent 4a56f9b commit 7f7459f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 126 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
build/app/outputs/apk
build/app/outputs/bundle
- name: Upload debug symbols
run: flutter packages pub run sentry_dart_plugin
run: dart pub global run sentry_dart_plugin
if: github.event_name == 'push' || github.event_name == 'release'
continue-on-error: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/localization_strings_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install packages
run: flutter config --no-cli-animations && flutter pub get
- name: Generate intl_translation
run: dart run intl_translation:extract_to_arb --locale=en --output-file='./lib/l10n/messages_en.arb' ./lib/Frontend/intn_defs.dart
run: dart pub global run intl_translation:extract_to_arb --locale=en --output-file='./lib/l10n/messages_en.arb' ./lib/Frontend/intn_defs.dart
- name: Stage Changes
run: git config user.email "github-actions[bot]@users.noreply.github.com" && git config user.name "github-actions[bot]" && git commit -am "Update EN language file"
- name: Push changes
Expand Down
5 changes: 3 additions & 2 deletions Scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ fi

# Configure flutter & pre-build tasks
flutter config --no-cli-animations
dart pub global activate flutter_gen
flutter pub get
DEBUG=""
if [[ $GITHUB_EVENT_NAME == 'pull_request' ]]; then
DEBUG="--debug"
else
DEBUG="--release"
fi
dart run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/Frontend/intn_defs.dart lib/l10n/*.arb
flutter pub run build_runner build --delete-conflicting-outputs
dart pub global run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/Frontend/intn_defs.dart lib/l10n/*.arb
dart pub global run build_runner build --delete-conflicting-outputs
if [[ ! -v SKIP_BUILD ]]; then # This is re-used for the linting job, which doesn't require a full build
# Build
if [[ $OS == 'macos-latest' ]]; then
Expand Down
120 changes: 0 additions & 120 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.1.1"
coverage:
dependency: transitive
description:
name: coverage
sha256: "3945034e86ea203af7a056d98e98e42a5518fff200d6e8e6647e1886b07e936e"
url: "https://pub.dev"
source: hosted
version: "1.8.0"
cronet_http:
dependency: transitive
description:
Expand Down Expand Up @@ -730,14 +722,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.2"
globbing:
dependency: transitive
description:
name: globbing
sha256: "4f89cfaf6fa74c9c1740a96259da06bd45411ede56744e28017cc534a12b6e2d"
url: "https://pub.dev"
source: hosted
version: "1.0.0"
go_router:
dependency: "direct main"
description:
Expand Down Expand Up @@ -850,14 +834,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.5"
injector:
dependency: transitive
description:
name: injector
sha256: ed389bed5b48a699d5b9561c985023d0d5cc88dd5ff2237aadcce5a5ab433e4e
url: "https://pub.dev"
source: hosted
version: "3.0.0"
install_referrer:
dependency: "direct main"
description:
Expand All @@ -880,14 +856,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.19.0"
intl_translation:
dependency: "direct dev"
description:
name: intl_translation
sha256: b858d88b569f3c529e992ba7186aa495f3e862897df60edb932563c619943610
url: "https://pub.dev"
source: hosted
version: "0.20.0"
introduction_screen:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1056,14 +1024,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.0"
node_preamble:
dependency: transitive
description:
name: node_preamble
sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db"
url: "https://pub.dev"
source: hosted
version: "2.0.2"
os_detect:
dependency: transitive
description:
Expand Down Expand Up @@ -1273,14 +1233,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "5.0.2"
properties:
dependency: transitive
description:
name: properties
sha256: "975daa001432c70f5f494b50e4c5c72990d2f026e4a307cb4aaec99562f2d0e4"
url: "https://pub.dev"
source: hosted
version: "2.1.0"
proximity_sensor:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1378,14 +1330,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "8.2.0"
sentry_dart_plugin:
dependency: "direct dev"
description:
name: sentry_dart_plugin
sha256: "2ad5ef14bf99776fa3fea09c53d275732a23c963e68f20c2facea379cce5e7c6"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
sentry_dio:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1491,22 +1435,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.4.1"
shelf_packages_handler:
dependency: transitive
description:
name: shelf_packages_handler
sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e"
url: "https://pub.dev"
source: hosted
version: "3.0.2"
shelf_static:
dependency: transitive
description:
name: shelf_static
sha256: a41d3f53c4adf0f57480578c1d61d90342cd617de7fc8077b1304643c2d85c1e
url: "https://pub.dev"
source: hosted
version: "1.1.2"
shelf_web_socket:
dependency: transitive
description:
Expand Down Expand Up @@ -1536,22 +1464,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.4"
source_map_stack_trace:
dependency: transitive
description:
name: source_map_stack_trace
sha256: "84cf769ad83aa6bb61e0aa5a18e53aea683395f196a6f39c4c881fb90ed4f7ae"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
source_maps:
dependency: transitive
description:
name: source_maps
sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703"
url: "https://pub.dev"
source: hosted
version: "0.10.12"
source_span:
dependency: transitive
description:
Expand Down Expand Up @@ -1624,14 +1536,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.1.0+1"
system_info2:
dependency: transitive
description:
name: system_info2
sha256: "65206bbef475217008b5827374767550a5420ce70a04d2d7e94d1d2253f3efc9"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
term_glyph:
dependency: transitive
description:
Expand All @@ -1640,14 +1544,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.2.1"
test:
dependency: transitive
description:
name: test
sha256: "7ee446762c2c50b3bd4ea96fe13ffac69919352bd3b4b17bac3f3465edc58073"
url: "https://pub.dev"
source: hosted
version: "1.25.2"
test_api:
dependency: transitive
description:
Expand All @@ -1656,14 +1552,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.7.0"
test_core:
dependency: transitive
description:
name: test_core
sha256: "2bc4b4ecddd75309300d8096f781c0e3280ca1ef85beda558d33fcbedc2eead4"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
timezone:
dependency: transitive
description:
Expand Down Expand Up @@ -1864,14 +1752,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.0.3"
webkit_inspection_protocol:
dependency: transitive
description:
name: webkit_inspection_protocol
sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572"
url: "https://pub.dev"
source: hosted
version: "1.2.1"
win32:
dependency: transitive
description:
Expand Down
2 changes: 0 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ dev_dependencies:
riverpod_lint:
riverpod_generator:
flutter_native_splash: ^2.4.0
sentry_dart_plugin: ^2.0.0
intl_translation:
hive_generator: ^2.0.1
icons_launcher: ^2.1.7
integration_test:
Expand Down

0 comments on commit 7f7459f

Please sign in to comment.