-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(cli): fix unused warnings (#3625)
- Loading branch information
1 parent
0248fd1
commit d5b1631
Showing
12 changed files
with
12 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -189,34 +189,6 @@ const CORDOVA_PLUGIN_PACKAGE = ` | |
} | ||
`; | ||
|
||
const CORDOVA_PLUGINS_RESOURCES_PODSPEC = ` | ||
Pod::Spec.new do |s| | ||
s.name = 'CordovaPluginsResources' | ||
s.version = '0.0.105' | ||
s.summary = 'Resources for Cordova plugins' | ||
s.social_media_url = 'https://twitter.com/capacitorjs' | ||
s.license = 'MIT' | ||
s.homepage = 'https://capacitorjs.com/' | ||
s.authors = { 'Ionic Team' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/ionic-team/capacitor.git', :tag => s.version.to_s } | ||
s.resources = ['resources/*'] | ||
end | ||
`; | ||
|
||
const CORDOVA_PLUGINS_PODSPEC = ` | ||
Pod::Spec.new do |s| | ||
s.name = 'CordovaPlugins' | ||
s.version = '0.0.105' | ||
s.summary = 'Autogenerated spec' | ||
s.license = 'Unknown' | ||
s.homepage = 'https://example.com' | ||
s.authors = { 'Capacitor Generator' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/ionic-team/does-not-exist.git', :tag => s.version.to_s } | ||
s.source_files = 'sources/**/*.{swift,h,m,c,cc,mm}' | ||
s.ios.deployment_target = '10' | ||
s.dependency 'CapacitorCordova' | ||
end`; | ||
|
||
async function makeCordovaPlugin(cordovaPluginPath: string) { | ||
const iosPath = join(cordovaPluginPath, 'src', 'ios'); | ||
const androidPath = join(cordovaPluginPath, 'android/com/getcapacitor'); | ||
|