diff --git a/lib/create.js b/lib/create.js index 5d79cef0b..e1dae1440 100755 --- a/lib/create.js +++ b/lib/create.js @@ -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); } diff --git a/package.json b/package.json index 68a647c49..215ec9070 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/bin/templates/scripts/cordova/Api.js b/templates/cordova/Api.js similarity index 100% rename from bin/templates/scripts/cordova/Api.js rename to templates/cordova/Api.js diff --git a/bin/templates/scripts/cordova/apple_ios_version b/templates/cordova/apple_ios_version similarity index 100% rename from bin/templates/scripts/cordova/apple_ios_version rename to templates/cordova/apple_ios_version diff --git a/bin/templates/scripts/cordova/apple_osx_version b/templates/cordova/apple_osx_version similarity index 100% rename from bin/templates/scripts/cordova/apple_osx_version rename to templates/cordova/apple_osx_version diff --git a/bin/templates/scripts/cordova/apple_xcode_version b/templates/cordova/apple_xcode_version similarity index 100% rename from bin/templates/scripts/cordova/apple_xcode_version rename to templates/cordova/apple_xcode_version diff --git a/bin/templates/scripts/cordova/build-debug.xcconfig b/templates/cordova/build-debug.xcconfig similarity index 100% rename from bin/templates/scripts/cordova/build-debug.xcconfig rename to templates/cordova/build-debug.xcconfig diff --git a/bin/templates/scripts/cordova/build-extras.xcconfig b/templates/cordova/build-extras.xcconfig similarity index 100% rename from bin/templates/scripts/cordova/build-extras.xcconfig rename to templates/cordova/build-extras.xcconfig diff --git a/bin/templates/scripts/cordova/build-release.xcconfig b/templates/cordova/build-release.xcconfig similarity index 100% rename from bin/templates/scripts/cordova/build-release.xcconfig rename to templates/cordova/build-release.xcconfig diff --git a/bin/templates/scripts/cordova/build.xcconfig b/templates/cordova/build.xcconfig similarity index 100% rename from bin/templates/scripts/cordova/build.xcconfig rename to templates/cordova/build.xcconfig diff --git a/bin/templates/scripts/cordova/defaults.xml b/templates/cordova/defaults.xml similarity index 100% rename from bin/templates/scripts/cordova/defaults.xml rename to templates/cordova/defaults.xml diff --git a/bin/templates/scripts/cordova/loggingHelper.js b/templates/cordova/loggingHelper.js similarity index 100% rename from bin/templates/scripts/cordova/loggingHelper.js rename to templates/cordova/loggingHelper.js diff --git a/bin/templates/scripts/cordova/version b/templates/cordova/version similarity index 100% rename from bin/templates/scripts/cordova/version rename to templates/cordova/version