syntax fix

This commit is contained in:
Justin Bailey
2023-02-16 11:04:11 -05:00
parent b42e83e21d
commit 8837033742
10 changed files with 70 additions and 12 deletions
+4 -4
View File
@@ -2,9 +2,9 @@ name: CI
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
jobs:
test:
@@ -14,8 +14,8 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.10'
channel: 'stable'
flutter-version: "3.3.10"
channel: "stable"
- name: Dependencies
run: flutter pub get
- name: Build generated files
+7
View File
@@ -0,0 +1,7 @@
*out
*logs
*actions
*notifications
plugins
user_trunk.yaml
user.yaml
+10
View File
@@ -0,0 +1,10 @@
# Autoformatter friendly markdownlint config (all formatting rules disabled)
default: true
blank_lines: false
bullet: false
html: false
indentation: false
line_length: false
spaces: false
url: false
whitespace: false
+7
View File
@@ -0,0 +1,7 @@
enable=all
source-path=SCRIPTDIR
disable=SC2154
# If you're having issues with shellcheck following source, disable the errors via:
# disable=SC1090
# disable=SC1091
+31
View File
@@ -0,0 +1,31 @@
version: 0.1
cli:
version: 1.4.1
plugins:
sources:
- id: trunk
ref: v0.0.10
uri: https://github.com/trunk-io/plugins
lint:
enabled:
- prettier@2.8.4
- actionlint@1.6.23
- shfmt@3.5.0
- markdownlint@0.33.0
- shellcheck@0.9.0
- git-diff-check
- gitleaks@8.15.3
- oxipng@8.0.0
- ktlint@0.48.2
runtimes:
enabled:
- go@1.18.3
- java@11.0.13
- node@18.12.1
actions:
disabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
enabled:
- trunk-upgrade-available
+3 -3
View File
@@ -25,7 +25,7 @@ No internet required, no external servers needed.
## Protocol
Devices communicate with each other using a REST API.
Devices communicate with each other using a REST API.
Everything is sent securely over HTTPS. The TLS/SSL certificate is generated on the fly on each device.
@@ -33,7 +33,7 @@ For more information: [LocalSend Protocol v1](https://github.com/localsend/proto
## Run
After you have installed [Flutter](https://flutter.dev), then you can start this app by typing the following commands:
After you have installed [Flutter](https://flutter.dev), then you can start this app by typing the following commands:
```shell
flutter pub get
@@ -140,4 +140,4 @@ appimage-builder --recipe AppImageBuilder.yml
**Snap**
Feel free to open a pull request. There is a `snap` branch to play with.
Feel free to open a pull request. There is a `snap` branch to play with.
+1 -1
View File
@@ -2,4 +2,4 @@
You can customize the launch screen with your own desired assets by replacing the image files in this directory.
You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
+2 -2
View File
@@ -1,12 +1,12 @@
name: localsend_app
description: An open source cross-platform alternative to AirDrop
publish_to: 'none'
publish_to: "none"
version: 1.7.0+26
environment:
sdk: '>=2.18.5 <3.0.0'
sdk: ">=2.18.5 <3.0.0"
dependencies:
basic_utils: 5.4.2
+4 -1
View File
@@ -6,5 +6,8 @@ fvm flutter clean
fvm flutter pub get
fvm flutter pub run build_runner build -d
fvm flutter precache --ios
(cd ios;pod update)
(
cd ios
pod update
)
fvm flutter build ipa
+1 -1
View File
@@ -33,4 +33,4 @@ rm -rf AppDir
rm -rf appimage-build
popd
cd localsend
cd localsend