Skip to content

Commit

Permalink
Try to fix npm scripts running in a subshell
Browse files Browse the repository at this point in the history
cause error: `sh: 1: source: not found`
  • Loading branch information
letwebdev committed Nov 25, 2023
1 parent 70cb672 commit 178ecd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"setUp:capacitor-noSave": "npm install --no-save @capacitor/cli @capacitor/core @capacitor/android",
"build:apk": "npm run sync && npm run build:apk-only",
"sync": "npm run build && npm run sync-only",
"build:apk-only": "(source './.env' && cd ${CAPACITOR_ANDROID_PATH} && chmod +x ./gradlew && ./gradlew assembleDebug)",
"build:apk-only": "source './.env' && cd ${CAPACITOR_ANDROID_PATH} && chmod +x ./gradlew && ./gradlew assembleDebug",
"sync-only": "cap sync",
"setUp:electron": "npm install --save-dev electron electron-builder",
"setUp:electron-noSave": "npm install --no-save electron electron-builder",
Expand Down

0 comments on commit 178ecd1

Please sign in to comment.