Skip to content

Commit e3e1e0b

Browse files
committed
Clean up cordova before building
1 parent 99a50eb commit e3e1e0b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@
4545
"mobile:link": "node ./config/link-mobile.js",
4646
"mobile:build": "npm run build:dev -- --env.platform mobile",
4747
"mobile:release": "npm run build:prod -- --env.platform mobile",
48-
"ci:build:dev": "npm run mobile:link && npm run mobile:build && npm run cordova:prepare && npm run cordova:build",
48+
"ci:build:dev": "npm run codrova:clean && npm run mobile:link && npm run mobile:build && npm run cordova:prepare && npm run cordova:build",
4949
"cordova:prepare": "cd ./cordova && ./../node_modules/.bin/cordova prepare",
50-
"cordova:build": "cd ./cordova && ./../node_modules/.bin/cordova build"
50+
"cordova:build": "cd ./cordova && ./../node_modules/.bin/cordova build",
51+
"codrova:clean": "rimraf ./cordova/plaforms && rimraf ./cordova/plugins"
5152
},
5253
"repository": {
5354
"type": "git",

0 commit comments

Comments
 (0)