Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Commit

Permalink
fix: change hinttext of gateway (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
teaishealthy committed Sep 18, 2022
1 parent 91104bc commit 5d13bc3
Show file tree
Hide file tree
Showing 58 changed files with 3,373 additions and 3,373 deletions.
158 changes: 79 additions & 79 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,79 +1,79 @@
name: Build

on:
push:
workflow_dispatch:

jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3



- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'

- name: Cache Flutter Dependencies
id: cache-flutter-dependencies
uses: actions/cache@v2
with:
path: ${{ env.PUB_CACHE }}
key: ${{ runner.os }}-${{ hashFiles('**/pubspec.lock') }}-pub-cache

- name: Install Packages
if: steps.cache-flutter-dependencies.outputs.cache-hit != 'true'
run: flutter pub get

- name: Build APK
run: flutter build apk

- name: Upload APK
uses: actions/upload-artifact@v3.1.0
with:
name: eludris-android
path: ./build/app/outputs/flutter-apk/app-release.apk
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'

- name: Cache Flutter Dependencies
id: cache-flutter-dependencies
uses: actions/cache@v2
with:
path: ${{ env.PUB_CACHE }}
key: ${{ runner.os }}-${{ hashFiles('**/pubspec.lock') }}-pub-cache

- name: Install Packages
if: steps.cache-flutter-dependencies.outputs.cache-hit != 'true'
run: flutter pub get

- name: Build Windows Files
run: flutter build windows

- name: Upload Windows Files
uses: actions/upload-artifact@v3.1.0
with:
name: eludris-windows
path: ./build/windows/runner/Release/
name: Build

on:
push:
workflow_dispatch:

jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3



- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'

- name: Cache Flutter Dependencies
id: cache-flutter-dependencies
uses: actions/cache@v2
with:
path: ${{ env.PUB_CACHE }}
key: ${{ runner.os }}-${{ hashFiles('**/pubspec.lock') }}-pub-cache

- name: Install Packages
if: steps.cache-flutter-dependencies.outputs.cache-hit != 'true'
run: flutter pub get

- name: Build APK
run: flutter build apk

- name: Upload APK
uses: actions/upload-artifact@v3.1.0
with:
name: eludris-android
path: ./build/app/outputs/flutter-apk/app-release.apk
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'

- name: Cache Flutter Dependencies
id: cache-flutter-dependencies
uses: actions/cache@v2
with:
path: ${{ env.PUB_CACHE }}
key: ${{ runner.os }}-${{ hashFiles('**/pubspec.lock') }}-pub-cache

- name: Install Packages
if: steps.cache-flutter-dependencies.outputs.cache-hit != 'true'
run: flutter pub get

- name: Build Windows Files
run: flutter build windows

- name: Upload Windows Files
uses: actions/upload-artifact@v3.1.0
with:
name: eludris-windows
path: ./build/windows/runner/Release/
62 changes: 31 additions & 31 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: Lint

on:
push:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.5'

- name: Install Packages
run: flutter pub get

- name: Run flutter format
run: flutter format --set-exit-if-changed .

- name: Run flutter analyze
run: flutter analyze
name: Lint

on:
push:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.5'

- name: Install Packages
run: flutter pub get

- name: Run flutter format
run: flutter format --set-exit-if-changed .

- name: Run flutter analyze
run: flutter analyze
94 changes: 47 additions & 47 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.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
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.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
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# eludris-flutter
A mobile client for eludris built in Flutter.

# eludris-flutter
A mobile client for eludris built in Flutter.

58 changes: 29 additions & 29 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
Loading

1 comment on commit 5d13bc3

@ooliver1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line ending change moment

Please sign in to comment.