Skip to content

Commit

Permalink
Removed Cedar Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Croom and Sam Coward committed Apr 12, 2016
1 parent 7031c1c commit 5312e07
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 76 deletions.
62 changes: 0 additions & 62 deletions CedarPlugin.xcplugin/Contents/Info.plist

This file was deleted.

Binary file removed CedarPlugin.xcplugin/Contents/MacOS/CedarPlugin
Binary file not shown.
3 changes: 0 additions & 3 deletions Rakefile
Expand Up @@ -20,8 +20,6 @@ SNIPPET_SENTINEL_VALUE = "isCedarSnippet"
XCODE_TEMPLATES_DIR = "#{ENV['HOME']}/Library/Developer/Xcode/Templates"
XCODE_SNIPPETS_DIR = "#{ENV['HOME']}/Library/Developer/Xcode/UserData/CodeSnippets"

XCODE_PLUGINS_DIR = "#{ENV['HOME']}/Library/Application Support/Developer/Shared/Xcode/Plug-ins/"

LATEST_SDK_VERSION = `xcodebuild -showsdks 2>/dev/null | grep iphonesimulator | cut -d ' ' -f 4`.chomp.split("\n").last
SDK_VERSION = ENV["CEDAR_SDK_VERSION"] || LATEST_SDK_VERSION
SDK_RUNTIME_VERSION = ENV["CEDAR_SDK_RUNTIME_VERSION"] || LATEST_SDK_VERSION
Expand All @@ -32,7 +30,6 @@ DERIVED_DATA_DIR = File.join(PROJECT_ROOT, "derivedData")
TEMPLATES_DIR = File.join(PROJECT_ROOT, "CodeSnippetsAndTemplates", "Templates")
SNIPPETS_DIR = File.join(PROJECT_ROOT, "CodeSnippetsAndTemplates", "CodeSnippets")
DIST_STAGING_DIR = "#{BUILD_DIR}/dist"
PLUGIN_DIR = File.join(PROJECT_ROOT, "CedarPlugin.xcplugin")
PLISTBUDDY = "/usr/libexec/PlistBuddy"

require 'tmpdir'
Expand Down
13 changes: 2 additions & 11 deletions scripts/rake/tasks/install.rb
@@ -1,7 +1,7 @@
# tasks related to install, uninstall, reinstall, etc...

desc "Build frameworks and install templates and code snippets"
task :install => [:clean, :uninstall, "dist:prepare", :install_plugin] do
task :install => [:clean, :uninstall, "dist:prepare"] do
puts ""
puts "Installing templates..."
puts ""
Expand All @@ -11,7 +11,7 @@
Shell.run %{rsync -vcrlK "#{DIST_STAGING_DIR}/Library/" ~/Library}
end

task :reinstall => [:uninstall, :install_plugin] do
task :reinstall => [:uninstall] do
Dir.mkdir(DIST_STAGING_DIR) unless File.exists?(DIST_STAGING_DIR)

Shell.run %{rm -rf "#{DIST_STAGING_DIR}"/*}
Expand All @@ -30,15 +30,6 @@
Shell.run %{rsync -vcrlK #{File.join(DIST_STAGING_DIR, "Library")} ~/Library}
end

desc "Install the CedarPlugin into Xcode (restart required)"
task :install_plugin do
puts ""
puts "Installing the CedarPlugin..."
puts ""

Shell.run %{mkdir -p "#{XCODE_PLUGINS_DIR}" && cp -rv "#{PLUGIN_DIR}" "#{XCODE_PLUGINS_DIR}"}
end

desc "Build the frameworks and upgrade the target"
task :upgrade, [:path_to_framework] do |task, args|
usage_string = 'Usage: rake upgrade["/path/to/Cedar.framework"]'
Expand Down

0 comments on commit 5312e07

Please sign in to comment.