Skip to content

Commit

Permalink
refactor: move cordova minimum template
Browse files Browse the repository at this point in the history
- moved 'bin/templates/scripts/cordova' to 'templates/cordova'
  • Loading branch information
erisu committed Dec 1, 2021
1 parent 07383c1 commit 578d8a9
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class ProjectCreator {
}

provideBuildScripts () {
const srcScriptsDir = path.join(ROOT, 'bin/templates/scripts/cordova');
const srcScriptsDir = path.join(ROOT, 'templates/cordova');
const destScriptsDir = this.projectPath('cordova');
fs.copySync(srcScriptsDir, destScriptsDir);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"xcodebuild": "xcodebuild -quiet test -workspace tests/cordova-ios.xcworkspace -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
"preobjc-tests": "killall Simulator || true",
"unit-tests": "jasmine --config=tests/spec/unit.json",
"lint": "eslint . \"bin/**/!(*.*)\""
"lint": "eslint . \"lib/**/!(*.*)\""
},
"author": "Apache Software Foundation",
"license": "Apache-2.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 578d8a9

Please sign in to comment.