public
Description: Javascript Abstraction Language
Homepage:
Clone URL: git://github.com/nex3/jabl.git
jabl / jabl.gemspec
100644 21 lines (17 sloc) 0.622 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'rubygems'
require 'rake'
 
def readmes(path = '.')
  FileList.new(File.join(path, '*')) do |list|
    list.exclude(/(^|[^.a-z])[a-z]+/)
  end.to_a
end
 
version = File.read('VERSION').strip
 
JABL_GEMSPEC = Gem::Specification.new do |spec|
  spec.rubyforge_project = spec.name = 'jabl'
  spec.summary = "An indentation-based alternate syntax for Javascript."
  spec.version = version
  spec.authors = ['Nathan Weizenbaum']
  spec.email = 'nex342@gmail.com'
  spec.files = FileList['{lib,test}/**/*', 'Rakefile', 'vendor/jabl-rkelly/{Rakefile,{lib,test}/**/*}'].to_a +
    readmes + readmes('vendor/jabl-rkelly')
end