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

Commit

Permalink
rubybuntu-gedit
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Aug 18, 2011
0 parents commit 9c4d596
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.rdoc
@@ -0,0 +1,20 @@
= Ruby/Rails/Web related gedit language definitions, mime types, styles and snippets.

This is not meant to be an alternative to *gedit-plugins* or gmate[https://github.com/gmate/gmate.git], but an addition. It focuses on maintaining the base stuff to provide a foundation for customizing your gedit with plugins.

=== Contains
* {language specifications}[https://github.com/janlelis/rubybuntu-language-specs]
* {mime types}[https://github.com/janlelis/rubybuntu-mime]
* {styles}[https://github.com/janlelis/rubybuntu-editor-styles]
* [snippets}[https://github.com/janlelis/rubybuntu-snippets]

Might also contain plugins someday, but only ones directly related to Ruby/Rails/Web stuff.

== Setup

Either checkout the sub-repositories (in the data directory) and install each one manually or run

gem install rubybuntu-gedit
rubybuntu-gedit install

== J-_-L
28 changes: 28 additions & 0 deletions Rakefile
@@ -0,0 +1,28 @@
require 'fileutils'
GEMSPEC = 'rubybuntu-gedit.gemspec'

def gemspec
@gemspec ||= eval(File.read( GEMSPEC ), binding, GEMSPEC)
end

desc "Build the gem"
task :gem => :gemspec do
sh "gem build #{GEMSPEC}"
FileUtils.mkdir_p 'pkg'
FileUtils.mv "#{gemspec.name}-#{gemspec.version}.gem", 'pkg'
end

desc "Install the gem locally (without docs)"
task :install => :gem do
sh %{gem install pkg/#{gemspec.name}-#{gemspec.version} --no-rdoc --no-ri}
end

desc "Generate the gemspec"
task :generate do
puts gemspec.to_ruby
end

desc "Validate the gemspec"
task :gemspec do
gemspec.validate
end
16 changes: 16 additions & 0 deletions rubybuntu-gedit.gemspec
@@ -0,0 +1,16 @@
# encoding: utf-8
require 'rubygems' unless defined? Gem

Gem::Specification.new do |s|
s.name = "rubybuntu-gedit"
s.version = Date.today.strftime("%y.%m.%d")
s.authors = ["Jan Lelis"]
s.email = "mail@janlelis.de"
s.homepage = "https://github.com/janlelis/rubybuntu-gedit"
s.summary = "Ruby/Web devoloper's gedit"
s.description = "Ruby/Rails/Web related gedit language definitions, mime types, styles and snippets."

s.files = Dir.glob(%w|bin/* [A-Z]*.{txt,rdoc} data/**/*|) + %w|Rakefile rubybuntu-gedit.gemspec|
s.executables = Dir['bin/*'].map{|f| File.basename f }
s.license = "GPL"
end

0 comments on commit 9c4d596

Please sign in to comment.