Skip to content

Commit

Permalink
chore: cli
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Oct 16, 2024
1 parent d964a06 commit 3b890c0
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 9 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"@nativescript-community/ui-pager": "14.1.27",
"@nativescript-community/ui-pager-indicator": "14.1.27",
"@nativescript-community/ui-popover": "0.1.19",
"@nativescript-community/ui-share-file": "1.3.3",
"@nativescript-community/ui-svg": "0.2.6",
"@nativescript-community/ui-webview": "1.5.0",
"@nativescript-community/ui-zoomimage": "4.5.3",
Expand Down
40 changes: 39 additions & 1 deletion scripts/ci.prepare.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
#!/usr/bin/env bash

echo "Values of all the arguments: $@"
POSITIONAL_ARGS=()

while [[ $# -gt 0 ]]; do
case $1 in
-p|--platform)
PLATFORM="$2"
shift # past argument
shift # past value
;;
-v|--version)
VERSION="$2"
shift # past argument
shift # past value
;;
-f|--flavor)
FLAVOR=YES
shift # past argument
shift # past value
;;
-*|--*)
echo "Unknown option $1"
exit 1
;;
*)
POSITIONAL_ARGS+=("$1") # save positional arg
shift # past argument
;;
esac
done

set -- "${POSITIONAL_ARGS[@]}" # restore positional parameters

echo "PLATFORM = ${PLATFORM}"
echo "VERSION = ${VERSION}"
echo "FLAVOR = ${FLAVOR}"
echo "FLAVOR = $(dirname $0)"

wget https://github.com/Akylas/OSS-DocumentScanner/releases/download/dev_resources/${PLATFORM}.zip
unzip ${PLATFORM}.zip
2 changes: 1 addition & 1 deletion tools
22 changes: 15 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ __metadata:
languageName: node
linkType: hard

"@akylas/kiss-orm@npm:2.1.9":
version: 2.1.9
resolution: "@akylas/kiss-orm@npm:2.1.9"
"@akylas/kiss-orm@npm:2.1.11":
version: 2.1.11
resolution: "@akylas/kiss-orm@npm:2.1.11"
peerDependencies:
mysql: ^2.18.1
pg: ^8.5.1
pg-format: ^1.0.4
pg-pool: ^3.2.2
sqlite3: ^5.0.0
checksum: 10/be419156c79110e0675bee25cf2df29ba4030f6170817f668c3cb7bd41457e1f94b52b4c9c90f40bf15898c5b5f4c9230995531d6a9c34a07a69a24376b54a0d
checksum: 10/3f7d1a507b1845ca80bb6f9eca648036ff666c885f5f00bb6ac098d96913f1739171e6b5a65dfedbe77375f4c05a5a762566412717870a9de942a39faf5c3647
languageName: node
linkType: hard

Expand All @@ -34,7 +34,7 @@ __metadata:

"@akylas/nativescript-app-tools@file:tools::locator=root-workspace-0b6124%40workspace%3A.":
version: 1.0.0
resolution: "@akylas/nativescript-app-tools@file:tools#tools::hash=87278d&locator=root-workspace-0b6124%40workspace%3A."
resolution: "@akylas/nativescript-app-tools@file:tools#tools::hash=6766aa&locator=root-workspace-0b6124%40workspace%3A."
dependencies:
"@dotenvx/dotenvx": "npm:1.17.0"
"@nativescript-community/fontmin": "npm:0.9.11"
Expand Down Expand Up @@ -87,7 +87,7 @@ __metadata:
typescript: "npm:5.6.3"
typescript-eslint: "npm:^8.8.1"
webpack-bundle-analyzer: "npm:^4.10.2"
checksum: 10/396ceda443f15dafc58156564a440e1604761f3c3d5d76ed152990c6ac5b83a208260e70b1f548f9de9d826ff8a51b73600351c2d4cc86681ef1031359cab641
checksum: 10/68d81788594948f2d066faf658ac84ccbc8ad03384c0afe829f5cea85daa8d219d04bcaa7606c3c0f0bd4eb76f6284f8d0de89dc16cb6652babea0ca16b3b8ba
languageName: node
linkType: hard

Expand Down Expand Up @@ -1571,6 +1571,13 @@ __metadata:
languageName: node
linkType: hard

"@nativescript-community/ui-share-file@npm:1.3.3":
version: 1.3.3
resolution: "@nativescript-community/ui-share-file@npm:1.3.3"
checksum: 10/b4e512f5a9e8681dc35dfd683aa76e66cae8298c037468c06ce3697ee5ab64e1adb181659e8798bb4b12870631fbabc09958f1bf959c714dcaebe739da9bb3aa
languageName: node
linkType: hard

"@nativescript-community/ui-svg@npm:0.2.6":
version: 0.2.6
resolution: "@nativescript-community/ui-svg@npm:0.2.6"
Expand Down Expand Up @@ -11094,7 +11101,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@akylas/kiss-orm": "npm:2.1.9"
"@akylas/kiss-orm": "npm:2.1.11"
"@akylas/nativescript": "npm:8.8.7"
"@akylas/nativescript-android-runtime": "npm:8.8.5"
"@akylas/nativescript-app-tools": "file:tools"
Expand Down Expand Up @@ -11143,6 +11150,7 @@ __metadata:
"@nativescript-community/ui-pager": "npm:14.1.27"
"@nativescript-community/ui-pager-indicator": "npm:14.1.27"
"@nativescript-community/ui-popover": "npm:0.1.19"
"@nativescript-community/ui-share-file": "npm:1.3.3"
"@nativescript-community/ui-svg": "npm:0.2.6"
"@nativescript-community/ui-webview": "npm:1.5.0"
"@nativescript-community/ui-zoomimage": "npm:4.5.3"
Expand Down

0 comments on commit 3b890c0

Please sign in to comment.