Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
jeweler & gem stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed May 19, 2009
1 parent dd1f1f1 commit 33d87e1
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/*.css
*.tmproj
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
LESS
====
It's time CSS was done right – LESS is _leaner_ css.

Explained
---------
LESS allows you to write CSS the way (I think) it was meant to, that is: with *variables*, *nested rules* and *mixins*!

### Here's some example LESS code:

@dark: #110011;
.outline { border: 1px solid black }

.article {
a { text-decoration: none }
p { color: @dark }
.outline;
}

### And the CSS output it produces:

.outline { border: 1px solid black }
.article > a { text-decoration: none }
.article > p { color: #110011 }
.article { border: 1px solid black }

If you have CSS nightmares, just
$ lessc style.less

36 changes: 36 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Je::Specification.new do |s|
# s.name = "less"
# s.version = "0.1"
# s.date = Time.today.strftime("%Y-%m-%d")
# s.authors = ["cloudhead"]
# s.email = "alexis@cloudhead.net"
# s.summary = "LESS compiler"
# s.homepage = "http://www.lesscss.org"
# s.description = "Compiles LESS files into CSS"
# s.files = [
# "README",
# "bin/lessc",
# "lib/less.rb",
# "lib/less/command.rb",
# "lib/less/engine.rb",
# "lib/less/tree.rb"
# ]
#
# s.bindir = "bin"
# s.default_executable = "lessc"
# s.executables = "lessc"
# end

begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "less"
s.authors = ["cloudhead"]
s.email = "alexis@cloudhead.net"
s.summary = "LESS compiler"
s.homepage = "http://www.lesscss.org"
s.description = "Compiles LESS files into CSS"
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.5.0
65 changes: 44 additions & 21 deletions less.gemspec
Original file line number Diff line number Diff line change
@@ -1,22 +1,45 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = "less"
s.version = "0.1"
s.date = Time.today.strftime("%Y-%m-%d")
s.authors = ["cloudhead"]
s.email = "alexis@cloudhead.net"
s.summary = "LESS compiler"
s.homepage = "http://www.lesscss.org"
s.description = "Compiles LESS files into CSS"
s.files = [
"README",
"bin/lessc",
"lib/less.rb",
"lib/less/command.rb",
"lib/less/engine.rb",
"lib/less/tree.rb"
]

s.bindir = "bin"
s.default_executable = "lessc"
s.executables = "lessc"
end
s.name = %q{less}
s.version = "0.5.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["cloudhead"]
s.date = %q{2009-05-18}
s.default_executable = %q{lessc}
s.description = %q{Compiles LESS files into CSS}
s.email = %q{alexis@cloudhead.net}
s.executables = ["lessc"]
s.extra_rdoc_files = [
"LICENSE",
"README.md"
]
s.files = [
".gitignore",
"LICENSE",
"README.md",
"bin/lessc",
"lib/less.rb",
"lib/less/command.rb",
"lib/less/engine.rb",
"lib/less/tree.rb",
"spec/spec.less"
]
s.has_rdoc = true
s.homepage = %q{http://www.lesscss.org}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.1}
s.summary = %q{LESS compiler}

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else
end
else
end
end
Binary file added pkg/less-0.5.0.gem
Binary file not shown.

0 comments on commit 33d87e1

Please sign in to comment.