Skip to content
This repository
Newer
Older
100644 43 lines (37 sloc) 1.659 kb
293178e2 » ribrdb
2010-07-15 Update gemspec
1 # -*- encoding: utf-8 -*-
805586fa » baroquebobcat
2010-12-15 add rake gem task
2 $: << './lib'
3 require 'mirah/version'
293178e2 » ribrdb
2010-07-15 Update gemspec
4
884645e7 » baroquebobcat
2013-02-16 add check to make sure gem build fails when generated jars not present
5 files = Dir["{bin,lib,test,examples,javalib}/**/*"] + Dir["{*.txt,Rakefile}"] - Dir["{examples/wiki/**/*}"]
6
7 bootstrap_jar = 'javalib/mirah-bootstrap.jar'
8 if $PROGRAM_NAME.match(/gem$/) && !files.include?(bootstrap_jar)
9 $stderr.puts "-"*80
10 $stderr.puts "ERROR: Can't build gem: missing generated file #{bootstrap_jar}"
11 $stderr.puts "To generate the jars and build the gem, use"
12 $stderr.puts " $ rake gem"
13 $stderr.puts "-"*80
14 exit 1
15 end
16
17
18
19
293178e2 » ribrdb
2010-07-15 Update gemspec
20 Gem::Specification.new do |s|
21 s.name = 'mirah'
8e357e9d » headius
2010-12-04 Cleanups and improvements.
22 s.version = Mirah::VERSION
c2e59b49 » baroquebobcat
2013-12-24 add apache 2 license to gemspec
23 s.license = 'Apache-2.0'
293178e2 » ribrdb
2010-07-15 Update gemspec
24 s.authors = ["Charles Oliver Nutter", "Ryan Brown"]
46422d33 » baroquebobcat
2012-02-12 merge master into new ast. It's crazy awesome.
25 s.date = Time.now.strftime("%Y-%m-%d")
293178e2 » ribrdb
2010-07-15 Update gemspec
26 s.description = %q{Mirah is a customizable programming language featuring static types,
27 local type inference and a heavily Ruby-inspired syntax. Mirah
28 currently includes a typer/compiler backend for the JVM which can
29 output either JVM bytecode or Java source files.}
30 s.email = ["headius@headius.com", "ribrdb@google.com"]
e12fbe81 » headius
2011-03-23 Fix references to duby scripts in gemspec and trim out wiki from exam…
31 s.executables = ["mirah", "mirahc", "mirahp"]
13f3812c » baroquebobcat
2013-06-22 fix gemspec -- README.txt sub md
32 s.extra_rdoc_files = ["History.txt", "README.md"]
e12fbe81 » headius
2011-03-23 Fix references to duby scripts in gemspec and trim out wiki from exam…
33 s.files = files.reject {|file| file =~ /jruby-complete.jar|jsr292-mock.jar/}
293178e2 » ribrdb
2010-07-15 Update gemspec
34 s.homepage = %q{http://www.mirah.org/}
13f3812c » baroquebobcat
2013-06-22 fix gemspec -- README.txt sub md
35 s.rdoc_options = ["--main", "README.md"]
293178e2 » ribrdb
2010-07-15 Update gemspec
36 s.require_paths = ["lib"]
fc6ce445 » headius
2010-08-01 Damn the torpedos! Move all lib/duby/* to lib/mirah/* and rewire all …
37 s.rubyforge_project = %q{mirah}
293178e2 » ribrdb
2010-07-15 Update gemspec
38 s.rubygems_version = %q{1.3.5}
39 s.summary = %q{Mirah is a customizable programming language featuring static types, local type inference and a heavily Ruby-inspired syntax}
40 s.test_files = Dir["test/**/test*.rb"]
41 s.platform = "java"
e94e5bec » baroquebobcat
2013-08-05 bump bitescript dependency
42 s.add_dependency("bitescript", ">= 0.1.4")
293178e2 » ribrdb
2010-07-15 Update gemspec
43 end
Something went wrong with that request. Please try again.