Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 44 lines (39 sloc) 1.689 kb
293178e @ribrdb Update gemspec
ribrdb authored
1 # -*- encoding: utf-8 -*-
805586f @baroquebobcat add rake gem task
baroquebobcat authored
2 $: << './lib'
3 require 'mirah/version'
293178e @ribrdb Update gemspec
ribrdb authored
4
27567c6 @baroquebobcat rm some refs to old jars + depend only on mirahc.jar in gem
baroquebobcat authored
5 files = Dir["{bin,lib,test,examples}/**/*"] \
1980e6d @baroquebobcat use an array to get mirahc in the gem closes #278
baroquebobcat authored
6 + ['dist/mirahc.jar'] \
c1537a7 @baroquebobcat oops. Fix missed escape in gemspec
baroquebobcat authored
7 + Dir["{*.md,*.txt,Rakefile}"] \
27567c6 @baroquebobcat rm some refs to old jars + depend only on mirahc.jar in gem
baroquebobcat authored
8 - Dir["{examples/wiki/**/*}"]
884645e @baroquebobcat add check to make sure gem build fails when generated jars not present
baroquebobcat authored
9
27567c6 @baroquebobcat rm some refs to old jars + depend only on mirahc.jar in gem
baroquebobcat authored
10 mirahc_jar = 'dist/mirahc.jar'
11 if $PROGRAM_NAME.match(/gem$/) && !files.include?(mirahc_jar)
884645e @baroquebobcat add check to make sure gem build fails when generated jars not present
baroquebobcat authored
12 $stderr.puts "-"*80
27567c6 @baroquebobcat rm some refs to old jars + depend only on mirahc.jar in gem
baroquebobcat authored
13 $stderr.puts "ERROR: Can't build gem: missing generated file #{mirahc_jar}"
884645e @baroquebobcat add check to make sure gem build fails when generated jars not present
baroquebobcat authored
14 $stderr.puts "To generate the jars and build the gem, use"
15 $stderr.puts " $ rake gem"
16 $stderr.puts "-"*80
17 exit 1
18 end
19
20
293178e @ribrdb Update gemspec
ribrdb authored
21 Gem::Specification.new do |s|
22 s.name = 'mirah'
8e357e9 @headius Cleanups and improvements.
headius authored
23 s.version = Mirah::VERSION
c2e59b4 @baroquebobcat add apache 2 license to gemspec
baroquebobcat authored
24 s.license = 'Apache-2.0'
d7d14ec @baroquebobcat add Nick to the author list in the gemspec
baroquebobcat authored
25 s.authors = ["Charles Oliver Nutter", "Ryan Brown", "Nick Howard"]
26 s.email = ["headius@headius.com", "ribrdb@google.com", "ndh@baroquebobcat.com"]
46422d3 @baroquebobcat merge master into new ast. It's crazy awesome.
baroquebobcat authored
27 s.date = Time.now.strftime("%Y-%m-%d")
293178e @ribrdb Update gemspec
ribrdb authored
28 s.description = %q{Mirah is a customizable programming language featuring static types,
29 local type inference and a heavily Ruby-inspired syntax. Mirah
30 currently includes a typer/compiler backend for the JVM which can
31 output either JVM bytecode or Java source files.}
638c47f @baroquebobcat rm mirahp from gemspec as it's gone
baroquebobcat authored
32 s.executables = ["mirah", "mirahc"]
13f3812 @baroquebobcat fix gemspec -- README.txt sub md
baroquebobcat authored
33 s.extra_rdoc_files = ["History.txt", "README.md"]
e12fbe8 @headius Fix references to duby scripts in gemspec and trim out wiki from example...
headius authored
34 s.files = files.reject {|file| file =~ /jruby-complete.jar|jsr292-mock.jar/}
293178e @ribrdb Update gemspec
ribrdb authored
35 s.homepage = %q{http://www.mirah.org/}
13f3812 @baroquebobcat fix gemspec -- README.txt sub md
baroquebobcat authored
36 s.rdoc_options = ["--main", "README.md"]
293178e @ribrdb Update gemspec
ribrdb authored
37 s.require_paths = ["lib"]
fc6ce44 @headius Damn the torpedos! Move all lib/duby/* to lib/mirah/* and rewire all the...
headius authored
38 s.rubyforge_project = %q{mirah}
293178e @ribrdb Update gemspec
ribrdb authored
39 s.rubygems_version = %q{1.3.5}
40 s.summary = %q{Mirah is a customizable programming language featuring static types, local type inference and a heavily Ruby-inspired syntax}
41 s.test_files = Dir["test/**/test*.rb"]
42 s.platform = "java"
43 end
Something went wrong with that request. Please try again.