You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/12/01 04:00:56 UTC
[cordova-ios] branch master updated: refactor: move cordova minimum template (#1204)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git
The following commit(s) were added to refs/heads/master by this push:
new 30954ae refactor: move cordova minimum template (#1204)
30954ae is described below
commit 30954aeb89d3499687f78d85642bbd899e49cab7
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Wed Dec 1 13:00:48 2021 +0900
refactor: move cordova minimum template (#1204)
- moved 'bin/templates/scripts/cordova' to 'templates/cordova'
---
lib/create.js | 2 +-
package.json | 2 +-
{bin/templates/scripts => templates}/cordova/Api.js | 0
{bin/templates/scripts => templates}/cordova/apple_ios_version | 0
{bin/templates/scripts => templates}/cordova/apple_osx_version | 0
{bin/templates/scripts => templates}/cordova/apple_xcode_version | 0
{bin/templates/scripts => templates}/cordova/build-debug.xcconfig | 0
{bin/templates/scripts => templates}/cordova/build-extras.xcconfig | 0
{bin/templates/scripts => templates}/cordova/build-release.xcconfig | 0
{bin/templates/scripts => templates}/cordova/build.xcconfig | 0
{bin/templates/scripts => templates}/cordova/defaults.xml | 0
{bin/templates/scripts => templates}/cordova/loggingHelper.js | 0
{bin/templates/scripts => templates}/cordova/version | 0
13 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/create.js b/lib/create.js
index 5d79cef..e1dae14 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 68a647c..215ec90 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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org