This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9c4d596
Showing
3 changed files
with
64 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
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 |
---|---|---|
@@ -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 |
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 |
---|---|---|
@@ -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 |