@furry-boilerplates/capacitorjs 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ furrycap.capacitor.build(){
2
+ console.header "furrycap.capacitor.build"
3
+
4
+ npx cap sync
5
+ }
@@ -0,0 +1,18 @@
1
+ furrycap.build.gateway(){
2
+ local COMMAND="$1"
3
+ shift
4
+
5
+ local ARGS=("$@")
6
+
7
+ case $COMMAND in
8
+ project)
9
+ furrycap.project.build;;
10
+ capacitor)
11
+ furrycap.capacitor.build;;
12
+ resources)
13
+ furrycap.resources.build;;
14
+ *)
15
+ console.error "Unknown command '${COMMAND}'";;
16
+ esac
17
+
18
+ }
@@ -0,0 +1,4 @@
1
+ include.scripts --base "${__FURRYCAP_BIN_PATH}" \
2
+ "build/capacitor.build.sh" \
3
+ "build/resources.build.sh" \
4
+ "build/project.build.sh"
@@ -0,0 +1,6 @@
1
+ furrycap.project.build(){
2
+ console.header "furrycap.project.build"
3
+
4
+ furrycap.resources.build
5
+ furrycap.capacitor.build
6
+ }
@@ -0,0 +1,8 @@
1
+ furrycap.resources.build(){
2
+ console.header "furrycap.resources.build"
3
+ cd "${__furrycap_INSTALL_DIR}"
4
+
5
+ rm -rf ./www/dist
6
+ cp -rv ./www/src ./www/dist
7
+ rollup -c
8
+ }
@@ -0,0 +1,21 @@
1
+ #! /bin/bash
2
+ __furrycap_BIN_PATH="$(cd -- "$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")" && pwd)"
3
+ __furrycap_INSTALL_DIR="$PWD"
4
+
5
+ . "${__furrycap_BIN_PATH}/includes.sh"
6
+
7
+
8
+ __furrycap_CLI_PATH="${__furrycap_INSTALL_DIR}/node_modules/@furrymink/cli"
9
+
10
+ if [[ ! -d "$__furrycap_CLI_PATH" ]]; then
11
+ echo "@furrymink/cli not found. installing now..."
12
+ npm install @furrymink/cli@latest
13
+ else
14
+ echo "@furrymink/cli already installed"
15
+ fi
16
+
17
+
18
+ source "${__furrycap_INSTALL_DIR}/node_modules/@furrymink/cli/bin/includes.sh"
19
+
20
+
21
+ furrycap.cli.gateway "$@"
@@ -0,0 +1,30 @@
1
+ furrycap.cli.gateway(){
2
+ local COMMAND="$1"
3
+ shift
4
+
5
+ local ARGS=("$@")
6
+
7
+ case $COMMAND in
8
+ build)
9
+ furrycap.build.gateway "$@";;
10
+ sync)
11
+ furry.sync.capacitor;;
12
+ rollup)
13
+ furry.rollup;;
14
+ launch)
15
+ furrycap.launch.gateway "$@";;
16
+ versioncontrol)
17
+ echo "VERSION CONTROL";;
18
+ open)
19
+ echo "OPEN";;
20
+ *)
21
+ helloworld)
22
+ furrycap.helloworld "${ARGS[@]}";;
23
+ export)
24
+ console.info "Exporting furrycap includes ..."
25
+ furrycap.include.scripts "includes.sh" "$@";;
26
+ *)
27
+ console.info "Unknown command '${COMMAND}'";;
28
+ esac
29
+
30
+ }
@@ -0,0 +1,26 @@
1
+ __furrycap_BIN_PATH="$(cd -- "$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")" && pwd)"
2
+ __furrycap_CLI_PATH="$(realpath "$__furrycap_BIN_PATH/..")"
3
+ __furrycap_MODULES_PATH="${__furrycap_BIN_PATH}/modules"
4
+ __furrycap_INSTALL_DIR="$PWD"
5
+ __furrycap_PACKAGE_PATH="$(realpath "$__furrycap_BIN_PATH/..")"
6
+
7
+ furrycap.include.scripts(){
8
+ local BASE="${__furrycap_BIN_PATH}"
9
+ local SCRIPTS=()
10
+
11
+ while [[ $# -gt 0 ]]; do
12
+ case $1 in
13
+ --base) BASE="$2"; shift 2 ;;
14
+ *) SCRIPTS+=("$1"); shift 1 ;;
15
+ esac
16
+ done
17
+ for SCRIPT in "${SCRIPTS[@]}"; do
18
+ . "${BASE}/${SCRIPT}"
19
+ done
20
+ }
21
+
22
+ furrycap.include.scripts \
23
+ "gateway.sh" \
24
+ "tests/includes.sh" \
25
+ "tests/build.sh" \
26
+ "tests/launch.sh"
@@ -0,0 +1,22 @@
1
+ furrycap.launch.gateway(){
2
+ local COMMAND="$1"
3
+ shift
4
+
5
+ local ARGS=("$@")
6
+
7
+ case $COMMAND in
8
+ web)
9
+ furrycap.launch.web;;
10
+ android)
11
+ furrycap.launch.android;;
12
+ ios)
13
+ furrycap.launch.ios;;
14
+ all)
15
+ furrycap.launch.web
16
+ furrycap.launch.android
17
+ furrycap.launch.ios;;
18
+ *)
19
+ console.error "Unknown command '${COMMAND}'";;
20
+ esac
21
+
22
+ }
@@ -0,0 +1,5 @@
1
+ include.scripts --base "${__FURRYCAP_BIN_PATH}" \
2
+ "launch/gateway.sh" \
3
+ "launch/launch.android.sh" \
4
+ "launch/launch.web.sh" \
5
+ "launch/launch.ios.sh"
@@ -0,0 +1,3 @@
1
+ furrycap.launch.android(){
2
+ echo "LAUNCH ANDROID"
3
+ }
@@ -0,0 +1,3 @@
1
+ furrycap.launch.ios(){
2
+ echo "LAUNCH IOS"
3
+ }
@@ -0,0 +1,21 @@
1
+ furrycap.launch.web(){
2
+ console.info "Building project"
3
+ npx furry build
4
+
5
+ console.info "Kill active node port on 3000"
6
+ console.warn "The port should be the same as the port for this project otherwise it will kill other apps"
7
+ PID=$(lsof -tiTCP:"$PORT" -sTCP:LISTEN)
8
+
9
+ if [ -n "$PID" ]; then
10
+ console.warn "KILL: ${PID}"
11
+ kill "$PID"
12
+
13
+ while lsof -tiTCP:"$PORT" -sTCP:LISTEN >/dev/null 2>&1; do
14
+ sleep 0.1
15
+ done
16
+ fi
17
+
18
+ # console.info "Start node"
19
+ nodemon "$@"
20
+
21
+ }
@@ -1,4 +1,4 @@
1
- capacitorjs.helloworld(){
1
+ furrycap.helloworld(){
2
2
  local ARGS=("$@")
3
3
  echo "Hello, World !!SSS"
4
4
  echo "${ARGS[@]}"
@@ -0,0 +1,2 @@
1
+ furrycap.include.scripts \
2
+ "tests/helloworld.sh"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@furry-boilerplates/capacitorjs",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "To make it easy for you to get started with GitLab, here's a list of recommended next steps.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,6 +22,9 @@
22
22
  },
23
23
  "homepage": "https://gitlab.com/furry-installers/boilerplates/capacitor-js#readme",
24
24
  "bin": {
25
- "capacitorjs": "bin/capacitorjs"
25
+ "furrycap": "bin/furrycap/furrycap",
26
+ "furryc": "bin/furrycap/furrycap",
27
+ "fc": "bin/furrycap/furrycap",
28
+ "fcap": "bin/furrycap/furrycap"
26
29
  }
27
30
  }
package/bin/capacitorjs DELETED
@@ -1,21 +0,0 @@
1
- #! /bin/bash
2
- __capacitorjs_BIN_PATH="$(cd -- "$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")" && pwd)"
3
- __capacitorjs_INSTALL_DIR="$PWD"
4
-
5
- . "${__capacitorjs_BIN_PATH}/includes.sh"
6
-
7
-
8
- __capacitorjs_CLI_PATH="${__capacitorjs_INSTALL_DIR}/node_modules/@furrymink/cli"
9
-
10
- if [[ ! -d "$__capacitorjs_CLI_PATH" ]]; then
11
- echo "@furrymink/cli not found. installing now..."
12
- npm install @furrymink/cli@latest
13
- else
14
- echo "@furrymink/cli already installed"
15
- fi
16
-
17
-
18
- source "${__capacitorjs_INSTALL_DIR}/node_modules/@furrymink/cli/bin/includes.sh"
19
-
20
-
21
- capacitorjs.cli.gateway "$@"
package/bin/gateway.sh DELETED
@@ -1,19 +0,0 @@
1
- capacitorjs.cli.gateway(){
2
- local COMMAND="$1"
3
- shift
4
-
5
- local ARGS=("$@")
6
-
7
- case $COMMAND in
8
- helloworld)
9
- capacitorjs.helloworld "${ARGS[@]}";;
10
- install)
11
- capacitorjs.install "${ARGS[@]}";;
12
- export)
13
- console.info "Exporting capacitorjs includes ..."
14
- capacitorjs.include.scripts "includes.sh" "$@";;
15
- *)
16
- console.info "Unknown command '${COMMAND}'";;
17
- esac
18
-
19
- }
package/bin/includes.sh DELETED
@@ -1,25 +0,0 @@
1
- __capacitorjs_BIN_PATH="$(cd -- "$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")" && pwd)"
2
- __capacitorjs_CLI_PATH="$(realpath "$__capacitorjs_BIN_PATH/..")"
3
- __capacitorjs_MODULES_PATH="${__capacitorjs_BIN_PATH}/modules"
4
- __capacitorjs_INSTALL_DIR="$PWD"
5
- __capacitorjs_PACKAGE_PATH="$(realpath "$__capacitorjs_BIN_PATH/..")"
6
-
7
- capacitorjs.include.scripts(){
8
- local BASE="${__capacitorjs_BIN_PATH}"
9
- local SCRIPTS=()
10
-
11
- while [[ $# -gt 0 ]]; do
12
- case $1 in
13
- --base) BASE="$2"; shift 2 ;;
14
- *) SCRIPTS+=("$1"); shift 1 ;;
15
- esac
16
- done
17
- for SCRIPT in "${SCRIPTS[@]}"; do
18
- . "${BASE}/${SCRIPT}"
19
- done
20
- }
21
-
22
- capacitorjs.include.scripts \
23
- "gateway.sh" \
24
- "tests/includes.sh" \
25
- "install/includes.sh"
@@ -1,12 +0,0 @@
1
- capacitorjs.configure.git(){
2
- console.header "Configure git"
3
-
4
- local _REPO_URL="$1"
5
- local _BRANCH="$2"
6
-
7
- git.repo.create \
8
- "$_REPO_URL" \
9
- "$_BRANCH"
10
-
11
- console.info "Finished adding repo to project"
12
- }
@@ -1,11 +0,0 @@
1
- capacitorjs.configure.gradle(){
2
- console.header "Configure gradle"
3
- local INSTALL_DIR="$1"
4
-
5
- cd $INSTALL_DIR
6
-
7
- sed -i 's#^distributionUrl=.*#distributionUrl=https\\://services.gradle.org/distributions/gradle-9.1.0-bin.zip#' "${INSTALL_DIR}/android/gradle/wrapper/gradle-wrapper.properties"
8
- sed -i "s/proguard-android\.txt/proguard-android-optimize.txt/g" "${INSTALL_DIR}/android/app/build.gradle"
9
- sed -i "s/com.android.tools.build:gradle:8.13.0/com.android.tools.build:gradle:9.0.1/g" "${INSTALL_DIR}/android/build.gradle"
10
- console.info "Finished configuring gradle"
11
- }
@@ -1,35 +0,0 @@
1
- capacitorjs.configure.npm(){
2
- console.header "Configure NPM"
3
- local INSTALL_DIR="$1"
4
- local APP_NAME="$2"
5
- local VERSION="$3"
6
- local TYPE="$4"
7
- local REPO_URL="$5"
8
- local BUGS_URL="$6"
9
- local HOMEPAGE_URL="$7"
10
- local LICENSE="$8"
11
-
12
- cd $INSTALL_DIR
13
-
14
- console.log "Update package.json"
15
- npm pkg set name="${APP_NAME}"
16
- npm pkg set type="${TYPE}"
17
- npm pkg set main="index.mjs"
18
- npm pkg set repository.url="${REPO_URL}"
19
- npm pkg set bugs.url="${BUGS_URL}"
20
- npm pkg set homepage="${HOMEPAGE_URL}"
21
- npm pkg set scripts.build="./scripts/build.sh"
22
- npm pkg set scripts.launch:web="./scripts/launch-web.sh"
23
- npm pkg set scripts.launch:android="./scripts/launch-android.sh"
24
- npm pkg set scripts.launch:ios="./scripts/launch-ios.sh"
25
- npm pkg set scripts.git:push="./scripts/git-push.sh"
26
- npm pkg set scripts.git:commit="./scripts/git-commit.sh"
27
- npm pkg set scripts.open:studio:push="npx cap open android"
28
-
29
- if [[ -z "${LICENSE//[[:space:]]/}" ]]; then
30
- npm pkg delete license
31
- else
32
- npm pkg set license="${LICENSE}"
33
- fi
34
- console.info "Finished configuring NPM"
35
- }
@@ -1,37 +0,0 @@
1
- capacitorjs.configure.template(){
2
- console.header "Configure template"
3
- # DEV NOTE SHOULD PASS A LIST OF KEY PAIR VALUES TO REPLACE IN INDEX
4
-
5
- local INSTALL_DIR="$1"
6
- local APP_NAME="$2"
7
- local DESCRIPTION="$3"
8
- local AUTHOR="$4"
9
- local EMAIL="$5"
10
- local LICENSE="$6"
11
- local LICENSE_NOTICE="${LICENSE:-$__boilerplate_strings__no_license_granted}"
12
-
13
- cd $INSTALL_DIR
14
-
15
- if [[ $LICENSE != "" ]]; then
16
- rm "LICENSE.md"
17
- fi
18
-
19
- local ESCAPED_NOTICE=$(printf '%s' "$LICENSE_NOTICE" | sed 's/[&/\]/\\&/g; s/$/\\n/' | tr -d '\n')
20
-
21
- console.log "Configuring web resources"
22
- sed -i "s/{{APP_NAME}}/$APP_NAME/" "${INSTALL_DIR}/www/src/index.html"
23
-
24
- sed -i "s/{{APP_NAME}}/$APP_NAME/" "${INSTALL_DIR}/README.md"
25
- sed -i "s/{{DESCRIPTION}}/$DESCRIPTION/" "${INSTALL_DIR}/README.md"
26
- sed -i "s/{{AUTHOR}}/$AUTHOR/" "${INSTALL_DIR}/README.md"
27
- sed -i "s/{{EMAIL}}/$EMAIL/" "${INSTALL_DIR}/README.md"
28
- sed -i "s/{{LICENSE}}/$ESCAPED_NOTICE/g" "${INSTALL_DIR}/README.md"
29
-
30
- sed -i "s/{{APP_NAME}}/$APP_NAME/" "${INSTALL_DIR}/BUGS.md"
31
- sed -i "s/{{DESCRIPTION}}/$DESCRIPTION/" "${INSTALL_DIR}/BUGS.md"
32
- sed -i "s/{{AUTHOR}}/$AUTHOR/" "${INSTALL_DIR}/BUGS.md"
33
- sed -i "s/{{EMAIL}}/$EMAIL/" "${INSTALL_DIR}/BUGS.md"
34
- sed -i "s/{{LICENSE}}/$ESCAPED_NOTICE/g" "${INSTALL_DIR}/BUGS.md"
35
-
36
- console.info "Finished configuring template"
37
- }
@@ -1,12 +0,0 @@
1
- capacitorjs.import.scaffolding(){
2
- console.header "Import scaffolding"
3
-
4
- local INSTALL_DIR="$1"
5
- local PACKAGE_PATH="$2"
6
-
7
- cd $INSTALL_DIR
8
-
9
- cp -rf "${PACKAGE_PATH}/dist/." "${INSTALL_DIR}/"
10
- mv "${INSTALL_DIR}/dotenv" "${INSTALL_DIR}/.env"
11
- console.info "Finished importing scaffolding"
12
- }
@@ -1,13 +0,0 @@
1
- capacitorjs.include.scripts \
2
- "install/configure.git.sh" \
3
- "install/configure.gradle.sh" \
4
- "install/configure.npm.sh" \
5
- "install/configure.template.sh" \
6
- "install/import.scaffolding.sh" \
7
- "install/init.dist.sh" \
8
- "install/install.sh" \
9
- "install/install.android.sh" \
10
- "install/install.capacitor.sh" \
11
- "install/install.ios.sh" \
12
- "install/install.npm.sh" \
13
- "install/sync.capacitor.sh"
@@ -1,10 +0,0 @@
1
- capacitorjs.init.dist(){
2
- console.header "Init dist"
3
-
4
- local INSTALL_DIR="$1"
5
-
6
- cd "${INSTALL_DIR}"
7
- cp -rf "${INSTALL_DIR}/www/src/." "${INSTALL_DIR}/www/dist"
8
-
9
- console.info "Finished rolling up source code"
10
- }
@@ -1,11 +0,0 @@
1
- capacitorjs.install.android(){
2
- console.header "Install Android"
3
- local INSTALL_DIR="$1"
4
-
5
- cd $INSTALL_DIR
6
-
7
- npm install @capacitor/android
8
- npx cap add android
9
- console.info "Finished installing android packages"
10
-
11
- }
@@ -1,13 +0,0 @@
1
- capacitorjs.install.capacitor(){
2
- console.header "Install capacitor"
3
- local INSTALL_DIR="$1"
4
- local _APP_NAME="$2"
5
- local _PACKAGE_ID="$3"
6
-
7
- cd "${INSTALL_DIR}"
8
-
9
- console.info "npx cap init ${_APP_NAME} ${_PACKAGE_ID} --web-dir www/dist"
10
- npx cap init "${_APP_NAME}" "${_PACKAGE_ID}" --web-dir "www/dist"
11
-
12
- console.info "Finished installing capacitor"
13
- }
@@ -1,10 +0,0 @@
1
- capacitorjs.install.ios(){
2
- console.header "Install iOS"
3
- local INSTALL_DIR="$1"
4
-
5
- cd "${INSTALL_DIR}"
6
-
7
- npm install @capacitor/ios
8
- npx cap add ios
9
- console.info "Finished installing iOS"
10
- }
@@ -1,38 +0,0 @@
1
- capacitorjs.install.npm(){
2
- console.header "Install NPM"
3
-
4
- local INSTALL_DIR="$1"
5
- local _APP_NAME="$2"
6
- local _TYPE="$3"
7
- local _REPO_URL="$4"
8
- local _BUGS_URL="$5"
9
- local _HOMEPAGE_URL="$6"
10
- local _LICENSE="$7"
11
-
12
- cd "${INSTALL_DIR}"
13
-
14
- npm install
15
-
16
- console.info "Configure package.json"
17
-
18
- npm pkg set name="${_APP_NAME}"
19
- npm pkg set type="${_TYPE}"
20
- npm pkg set main="index.mjs"
21
- npm pkg set repository.url="${_REPO_URL}"
22
- npm pkg set bugs.url="${_BUGS_URL}"
23
- npm pkg set homepage="${_HOMEPAGE_URL}"
24
- npm pkg set scripts.build="./scripts/build.sh"
25
- npm pkg set scripts.launch:web="./scripts/launch-web.sh"
26
- npm pkg set scripts.launch:android="./scripts/launch-android.sh"
27
- npm pkg set scripts.launch:ios="./scripts/launch-ios.sh"
28
- npm pkg set scripts.git:push="./scripts/git-push.sh"
29
- npm pkg set scripts.git:commit="./scripts/git-commit.sh"
30
- npm pkg set scripts.open:studio:push="npx cap open android"
31
-
32
- if [[ -z "${LICENSE//[[:space:]]/}" ]]; then
33
- npm pkg delete license
34
- else
35
- npm pkg set license="${LICENSE}"
36
- fi
37
- console.info "Finished installing NPM"
38
- }
@@ -1,108 +0,0 @@
1
- capacitorjs.install(){
2
- console.header "Questionnaire"
3
-
4
- local _INSTALL_DIR="$__capacitorjs_INSTALL_DIR"
5
- local _PACKAGE_PATH="$__capacitorjs_PACKAGE_PATH"
6
-
7
- local ARGS=("$@")
8
- local _BASE_REPO_URL="furrymink"
9
- local _DEFAULT_BRANCH="main"
10
- local _DEFAULT_LICENSE=""
11
- local _DEFAULT_AUTHOR="Lee"
12
- local _DEFAULT_DEV_BROWSER_PORT="3000"
13
- local _DEFAULT_EMAIL="lee@bowyer.fr"
14
-
15
- local _APP_NAME=$(get.app-name "my-app")
16
- local _NORMALISED_APP_NAME=$(normalise.package-id $_APP_NAME)
17
- local _GIT_BASE_URL="${_BASE_REPO_URL}/${_NORMALISED_APP_NAME}"
18
-
19
- local _PACKAGE_ID=$(get.package-id $_BASE_REPO_URL $_APP_NAME)
20
- local _HOMEPAGE_URL=$(get.home-page-url "$_GIT_BASE_URL")
21
- local _REPO_URL=$(get.repo-url "$_GIT_BASE_URL")
22
- local _BRANCH=$(get.repo-branch "$_DEFAULT_BRANCH")
23
- local _README_URL=$(get.read-me-url "$_GIT_BASE_URL")
24
- local _BUGS_URL=$(get.bugs-url "$_GIT_BASE_URL")
25
- local _LICENSE=$(get.license "$_DEFAULT_LICENSE")
26
- local _AUTHOR=$(get.author "$_DEFAULT_AUTHOR")
27
- local _EMAIL=$(get.email "$_DEFAULT_EMAIL")
28
- local _DESCRIPTION=$(get.description "Give a short description of what $_APP_NAME does")
29
- local _DEV_BROWSER_PORT=$(get.broswer-port "$_DEFAULT_DEV_BROWSER_PORT")
30
- local _TYPE=$(get.type)
31
-
32
-
33
- capacitorjs.import.scaffolding \
34
- "${_INSTALL_DIR}" \
35
- "${_PACKAGE_PATH}"
36
-
37
- capacitorjs.install.npm \
38
- "${_INSTALL_DIR}" \
39
- "${_APP_NAME}" \
40
- "${_TYPE}" \
41
- "${_REPO_URL}" \
42
- "${_BUGS_URL}" \
43
- "${_HOMEPAGE_URL}" \
44
- "${_LICENSE}"
45
-
46
- capacitorjs.install.capacitor \
47
- "${_INSTALL_DIR}" \
48
- "${_APP_NAME}" \
49
- "${_PACKAGE_ID}"
50
-
51
- capacitorjs.configure.template \
52
- "$_INSTALL_DIR" \
53
- "$_APP_NAME" \
54
- "$_DESCRIPTION" \
55
- "$_AUTHOR" \
56
- "$_EMAIL" \
57
- "$_LICENSE"
58
-
59
- capacitorjs.init.dist \
60
- "$_INSTALL_DIR"
61
-
62
-
63
- local _TARGET_PLATFORM=$(
64
- input.select "Select OS" \
65
- --prefill "1" \
66
- --options "Android|iOS|Both"
67
- )
68
-
69
- case $_TARGET_PLATFORM in
70
- "Android")
71
- capacitorjs.install.android \
72
- "$_INSTALL_DIR"
73
- ;;
74
- "iOS")
75
- capacitorjs.install.ios \
76
- "$_INSTALL_DIR"
77
- ;;
78
- "Both")
79
- capacitorjs.install.android \
80
- "$_INSTALL_DIR"
81
- capacitorjs.install.ios \
82
- "$_INSTALL_DIR"
83
- ;;
84
- esac
85
-
86
- capacitorjs.configure.gradle \
87
- "$_INSTALL_DIR"
88
-
89
- capacitorjs.configure.npm \
90
- "$_INSTALL_DIR" \
91
- "$_APP_NAME" \
92
- "$_VERSION" \
93
- "$_TYPE" \
94
- "$_REPO_URL" \
95
- "$_BUGS_URL" \
96
- "$_HOMEPAGE_URL" \
97
- "$_LICENSE"
98
-
99
-
100
- capacitorjs.sync.capacitor \
101
- "$_INSTALL_DIR"
102
-
103
- capacitorjs.configure.git \
104
- "$_REPO_URL" \
105
- "$_BRANCH" \
106
-
107
- console.log "All done. Have a nice day"
108
- }
@@ -1,9 +0,0 @@
1
- capacitorjs.sync.capacitor(){
2
- console.header "Sync capacitor"
3
-
4
- local INSTALL_DIR="$1"
5
-
6
- cd "${INSTALL_DIR}"
7
- npx cap sync
8
- console.info "Finished syncing capacitor"
9
- }
@@ -1,2 +0,0 @@
1
- capacitorjs.include.scripts \
2
- "tests/helloworld.sh"