Skip to content
Browse files

Moved extconf.rb to boot/extconf.rb for bootstrapping on gem install.

  • Loading branch information...
1 parent 2c664f7 commit c3d8bdf5c4f50f0b577a9d1b203258d2762776a4 @bakkdoor committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 { → boot}/extconf.rb
  2. +2 −2 fancy.gemspec
View
2 extconf.rb → boot/extconf.rb
@@ -2,6 +2,6 @@
puts "Fancy hasn't been bootstrapped yet. Doing that now.\n\n"
File.open("Makefile", "w") do |f|
f.puts "install:"
- f.puts " rbx -S rake clean && rbx -S rake"
+ f.puts " cd ../ && rbx -S rake clean && rbx -S rake"
end
exit 0
View
4 fancy.gemspec
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
s.email = "chris@fancy-lang.org"
files =
- ["README.md", "LICENSE", "AUTHORS", "Rakefile", "extconf.rb", "ruby_lib/fancy.rb"] +
+ ["README.md", "LICENSE", "AUTHORS", "Rakefile", "boot/extconf.rb", "ruby_lib/fancy.rb"] +
Dir.glob("lib/**/*.fy") + Dir.glob("lib/parser/ext/**/*") +
Dir.glob("tests/**/*.fy") + ["tools/fancy-mode.el"] + ["bin/fancy", "bin/fdoc", "bin/fyi", "bin/ifancy"] +
Dir.glob("examples/**/*.fy") + Dir.glob("doc/**/*")
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.files = files
s.require_path = "ruby_lib"
- s.extensions = 'extconf.rb'
+ s.extensions = 'boot/extconf.rb'
s.executables = ["fancy", "ifancy", "fdoc", "fyi"]

0 comments on commit c3d8bdf

Please sign in to comment.
Something went wrong with that request. Please try again.