Commit Graph

152 Commits

Author SHA1 Message Date
William Light 72d6db8bc4 Fix for caller_dir relative gems 2013-10-01 21:27:34 +02:00
William Light 7c3f06ddd8 Implement gembox-relative gemdir paths
In the case where a relative path is specified to a gembox from
build_config.rb, it was previously tricky to specify relative gem paths
from inside that gembox.

For example, consider a project in which mruby is checked out as a
submodule in the project root:

	+- project_root
	   |
	   +- mruby/
	   |  |
	   |  +- build_config.rb
	   |  |
	   |  +- ...
	   |
	   +- my_gembox/
	      |
	      +- my_gembox.gembox
	      |
	      +- my_gem/
	         |
	         +- mrbgem.rake
	         |
	         +- ...

If build_config.rb refers to my_gembox with a relative path, it's
difficult for my_gembox to then refer to my_gem. With this proposed
change, my_gembox.gembox can look like this:

	MRuby::GemBox.new do |conf|
	  conf.gem "my_gem"
	end
2013-10-01 20:21:46 +02:00
Yuichi Nishiwaki 0e4a7b2a03 eliminate use of traditional intern API (mrb_intern()) completely 2013-09-23 19:36:50 -07:00
Yukihiro "Matz" Matsumoto 975d670ab7 Merge pull request #1490 from take-cheeze/cxx_extension
support file extension .cpp/.cxx in mrbgem and tool
2013-08-26 04:16:13 -07:00
take_cheeze b6ab216f97 support file extension .cpp/.cxx in mrbgem and tool 2013-08-26 17:56:49 +09:00
taku toyama 7d22c89545 add x86_64-darwin host platform. 2013-08-19 14:30:19 +09:00
Ryan Scott 981b408e01 Added support for custom gem clone directories when using git 2013-08-04 00:33:49 +10:00
Yukihiro "Matz" Matsumoto 961cd408a8 replace "if not" to "unless" 2013-07-27 14:21:09 +09:00
fleuria f4ae432497 if mrbc.run fail, abort rake 2013-07-25 03:47:39 +08:00
kyab 494880fa10 Fix mrbc error for space included path 2013-07-24 18:37:00 +09:00
Tomoyuki Sahara e8df8dcae6 display multiple authors better.
Before:
Copyright (c) 2013 ["a", "b"]

After:
Copyright (c) 2013 a, b
2013-07-23 09:53:39 +09:00
Yukihiro "Matz" Matsumoto 9ddb2253d0 Merge pull request #1395 from carsonmcdonald/fixdepcheck
Fail if dependency isn't found
2013-07-21 17:06:02 -07:00
Carson McDonald 45cba2e27f Fail if dependency isn't found 2013-07-20 22:22:27 -04:00
crimsonwoods ccf69cde8a Improve Android NDK toolchain support.
Linux-x86_64 has not been supported now.
This commit add Linux-x86_64 platform support.
2013-07-20 14:50:29 +09:00
Xuejie "Rafael" Xiao 122770d17f Allow programmers to specify build path manually 2013-07-15 11:43:19 +08:00
Robert Rowe e47e8a2512 Fix the androideabi toolchain not matching host
The included method of determining the host platform in the androideabi
would not match to windows if RUBY_PLATFORM returned mingw, wince, or
emx. As an added pre-caution, using a case statement with regexp
matching will better determine the host platform since it won't be case
sensitive and for windows is set to match more specifially than just
"win".
2013-07-08 21:16:16 -07:00
kyab 8eab806da8 Add --pull_gems option to minirake 2013-07-04 22:09:05 +09:00
kyab cf4655683e Remove extra separator in compile command 2013-06-15 01:40:04 +09:00
Yukihiro "Matz" Matsumoto 6557ee938a mruby error messages should be directed to stderr 2013-05-26 02:13:02 +09:00
Yukihiro "Matz" Matsumoto 95fb1fd809 mrbc to take multiple files, preserving debug information if -g given; close #1243 2013-05-14 23:39:56 +09:00
Carson McDonald 7df8e6936e Allow mrbc command options to be changed 2013-05-13 10:16:31 -04:00
Yukihiro "Matz" Matsumoto 0b858ab801 show a backtrace when when an error occurs on gem load; close #1243 2013-05-13 10:41:59 +09:00
Carson McDonald 37258d4d7e Change alghorithm to algorithm 2013-05-11 07:46:30 -04:00
Yukihiro "Matz" Matsumoto 9e3ec665ca Merge pull request #1242 from schmurfy/gem_version
consider gem version to be 0.0.0 unless specified
2013-05-09 07:33:41 -07:00
Yukihiro "Matz" Matsumoto 2241c39a20 Merge pull request #1245 from NARKOZ/fix-warnings
remove unused variables
2013-05-09 06:15:04 -07:00
Nihad Abbasov 9dd539bb15 remove unused variables 2013-05-09 17:05:59 +05:00
Nihad Abbasov 1d049e0864 fix regexp warning: character class has duplicated range 2013-05-09 16:49:39 +05:00
Julien Ammous 6af7132866 consider empty version requirements as >= 0.0.0 2013-05-09 10:35:52 +02:00
Julien Ammous 7562b28439 consider gem version to be 0.0.0 unless specified 2013-05-09 10:15:20 +02:00
Daniel Bovensiepen 34f7dd539d Todo is actually already finished :-) 2013-05-09 01:49:53 +08:00
Daniel Bovensiepen a5a7c47e91 Implement GEM dependency check 2013-05-09 01:47:24 +08:00
Yukihiro "Matz" Matsumoto 7d134d941b Merge branch 'bovi-gem-duplication' 2013-05-04 01:23:41 +09:00
Yukihiro "Matz" Matsumoto d0f491d8c3 remove explicit check to honor duck typing 2013-05-04 01:22:26 +09:00
Yukihiro "Matz" Matsumoto 4e16491f06 avoid subclassing Array not to inherit too much methods 2013-05-04 01:21:31 +09:00
Daniel Bovensiepen 1eb2a4b6c8 Move GemList to MRuby::Gem::List. More logical location 2013-05-03 14:19:19 +08:00
Daniel Bovensiepen 822a71154f Use advanced GemList as list for GEMs 2013-05-03 14:08:10 +08:00
Daniel Bovensiepen dd8bfcb49f Implement GemList which can identify GEM duplicates 2013-05-03 14:06:16 +08:00
Akira Yumiyama 1f52ee259a sort mrbgem's mrblib/*.rb files
- https://github.com/mruby/mruby/commit/5de9a8cc50052db105ea8ba06d64b95cb1b57db1
2013-05-03 10:29:03 +09:00
Daniel Bovensiepen b754cf1f67 Improve Gem::Specification for support of dependencies and requirements 2013-05-02 13:42:10 +08:00
Daniel Bovensiepen 045db9e528 Implement :core parameter for conf.gem 2013-05-02 02:53:47 +08:00
Yukihiro "Matz" Matsumoto 160eb71338 fix gembox rake tasks to support Ruby 1.8 2013-04-27 23:28:17 +09:00
Daniel Bovensiepen 3875140afe IMPROVE: Move GemBox to more logical source location 2013-04-27 16:59:02 +08:00
Daniel Bovensiepen 607811c0dc Add gembox feature 2013-04-27 16:48:52 +08:00
Xuejie "Rafael" Xiao 5a8abf85d7 Pass verbose flag to each gem test 2013-04-23 14:15:14 -04:00
Yukihiro "Matz" Matsumoto c79172dfd5 put spaces after if/while 2013-04-20 23:11:43 +09:00
h2so5 e2cf566243 Add vs2010.rake 2013-04-13 08:53:35 +09:00
Masaki Muranaka 9d8143f930 Move mirb and mruby to mrbgems. 2013-04-11 15:22:07 +09:00
Yukihiro "Matz" Matsumoto 5dea19e9be Merge pull request #1150 from monaka/pr-add-test-runner-support
Add "test runner" support for cross builds.
2013-04-08 03:25:28 -07:00
Masaki Muranaka 6e28c0eb28 Add "test runner" support for cross builds.
"test runner" means target simulator like QEmu, GDB sim, and so on. Also "test runner" might be debug agents for real targets.
If you do not setup test_runner, Rake will work same as before.
2013-04-07 01:06:50 +09:00
Yukihiro "Matz" Matsumoto aa9a3380ee Merge pull request #1116 from kurodash/pr-exclude-legal-from-archive
Modified build dependency to exclude 'LEGAL' from libmruby archive.
2013-04-06 06:27:50 -07:00