Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.gem
10 changes: 0 additions & 10 deletions Makefile

This file was deleted.

6 changes: 3 additions & 3 deletions README.md.xtpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ we will get the following output:

~~~~ {.tpl}
<<<<
./xtpl < examples/output_from_utility.xtpl
xtpl < examples/output_from_utility.xtpl
>>>>

~~~~
Expand All @@ -60,7 +60,7 @@ Piping this through xtpl will yield:

~~~~~ {.tpl}
<<<<
./xtpl < examples/filtering.xtpl
xtpl < examples/filtering.xtpl
>>>>

~~~~~
Expand All @@ -81,7 +81,7 @@ Now this yields the following output:

~~~~~~ {.html}
<<<<
./xtpl < examples/redirecting_utility_output_to_file.xtpl
xtpl < examples/redirecting_utility_output_to_file.xtpl
>>>>

~~~~~~
Expand Down
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
task :default => :build

task :build do
system "gem build xtpl.gemspec"
end
File renamed without changes.
21 changes: 21 additions & 0 deletions xtpl.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Gem::Specification.new do |s|
s.name = 'xtpl'
s.summary = 'xtpl is a templating mechnism in the spirit of unix. It was developed to help with document preparation, but could also be used in other circumstances, where text needs to be enriched with output from other utilities.

xtpl takes a template text and substitutes special expressions with the output from external tools. It also allows to filter parts of the document through an external filter.'
s.description = 'xtpl is a templating mechnism in the spirit of unix'
s.version = '0.1'
s.platform = Gem::Platform::RUBY

s.files = ['bin/xtpl']

s.bindir = 'bin'

s.files = `git ls-files`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }

s.author = 'Felix Leipold'
s.email = ''
s.homepage = 'https://github.com/fleipold/xtpl'
end