Skip to content

Commit

Permalink
upgrade compass to 0.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tka committed Mar 14, 2012
1 parent acffbb0 commit 9f4ebad
Show file tree
Hide file tree
Showing 1,209 changed files with 101 additions and 57 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
require 'rubygems'
require 'bundler'
Bundler.setup
require 'rake/dsl_definition' rescue nil
if ENV["PKG"]
$: << File.expand_path(File.dirname(__FILE__))+"/lib"
else
require 'bundler'
Bundler.setup
end

begin
require 'rake/dsl_definition'
rescue LoadError
#pass
end
require 'compass'

# ----- Default: Testing ------
Expand All @@ -10,12 +19,17 @@ task :default => [:test, :features]

require 'rake/testtask'
require 'fileutils'

begin
require 'cucumber'
require 'cucumber/rake/task'

Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = "features --format progress"
end
rescue LoadError
$stderr.puts "cannot load cucumber"
end

Rake::TestTask.new :test do |t|
t.libs << 'lib'
Expand Down Expand Up @@ -124,3 +138,20 @@ rescue LoadError => e
puts "WARNING: #{e}"
end

begin
require 'packager/rake_task'
require 'compass/version'
# Building a package:
# 1. Get packager installed and make sure your system is setup correctly according to their docs.
# 2. Make sure you are actually using a universal binary that has been nametooled.
# 3. PKG=1 OFFICIAL=1 rake packager:pkg
Packager::RakeTask.new(:pkg) do |t|
t.package_name = "Compass"
t.version = Compass::VERSION
t.domain = "compass-style.org"
t.bin_files = ["compass"]
t.resource_files = FileList["frameworks/**/*"] + ["VERSION.yml", "LICENSE.markdown"]
end
rescue LoadError => e
puts "WARNING: #{e}"
end
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
:major: 0
:minor: 12
:build: 0
:build: 1
:name: Alnilam
Loading

0 comments on commit 9f4ebad

Please sign in to comment.