take_cheeze
69cc80abbc
Refactor MRuby::Gem::List#check.
...
* Create mrbgem table before dependencies check.
* Topoligical sort gem list.
* Check circular mrbgem dependency.
2014-04-04 13:17:27 +09:00
Yukihiro "Matz" Matsumoto
5bcb119ed7
use File#directory? instead of File#exist?; ref c2d8b0
2014-03-21 09:24:28 +09:00
Yukihiro "Matz" Matsumoto
c2d8b0303d
avoid Dir.exist? that is not available in Ruby1.8
2014-03-21 03:23:26 +09:00
take_cheeze
77fba20480
reduce mrb_open calls in mrbgem test
2014-03-10 04:45:28 +09:00
take_cheeze
9d81487c8b
add existing include/ directory only
2014-03-05 14:29:45 +09:00
take_cheeze
78915f9601
support c++ exception
2014-03-01 20:05:29 +09:00
take_cheeze
7201404ee0
compile assert.rb once
2014-02-26 22:01:31 +09:00
cremno
aa655b9ee1
remove superfluous includes
...
- reduce compile time by a little bit (full-core: ~0.7s for me)
- thanks to 'include-what-you-use' for some help
- include Standard C header files before any other (coding style)
2014-01-07 17:56:30 +01: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
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
Carson McDonald
45cba2e27f
Fail if dependency isn't found
2013-07-20 22:22:27 -04: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
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
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
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
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
Yukihiro "Matz" Matsumoto
e72ac2c61f
use EXIT_SUCCESS and EXIT_FAILURE for exit status; close #1142
2013-04-06 00:48:42 +09:00
Masaki Muranaka
3aa3b4af90
Remove stdlib.h from mruby.h. It is for portability (care for freestanding environments).
...
This is a first step. It will be reduced stdlib.h in each files later.
2013-03-16 21:29:39 +09:00
Masaki Muranaka
a0102317b4
Apply @masuidrive's review point. @bins should be Array.
2013-03-07 16:02:20 +09:00
Masaki Muranaka
cb2ad2c439
Add Support to build loadable modules defined in mrbgems.
2013-03-07 14:23:26 +09:00
Masaki Muranaka
61c16b4db4
Add accessor: version, description, summary, homepage.
2013-03-05 02:10:22 +09:00
Yuichiro MASUI
a74f92b46b
Generate mrbtest.a file for sparete from driver.o
2013-02-03 13:38:18 +09:00
Carson McDonald
79f802365f
Add ability to pass parameters from mrbgem.rake spec into test scripts.
2013-01-29 22:03:29 -05:00
Yukihiro Matz Matsumoto
24679c6dd6
resolve conflict
2013-01-30 07:33:35 +09:00
Carson McDonald
c32a16130f
Change the way that the DISABLE_GEMS flag is set.
2013-01-28 08:54:27 -05:00
Yuichiro MASUI
5a152c82e6
load MRUBY_CONFIG script after 'build_config.rb'
2013-01-28 18:22:11 +09:00
Yuichiro MASUI
dd680b6e67
Add flags_after_libraries
2013-01-24 11:33:56 +09:00
Yuichiro MASUI
b1623b9e58
merge master
2013-01-24 11:21:39 +09:00
Yuichiro MASUI
310b0dce8f
Added finalizer of mrbgems
2013-01-22 20:18:48 +09:00
Yuichiro MASUI
a1c4992905
Added flags_before_libraries to linker
2013-01-21 22:15:15 +09:00
Yukihiro Matz Matsumoto
17fa9927a3
resolve conflicts
2013-01-21 17:31:12 +09:00
Daniel Bovensiepen
73eba4d4e8
Reduce line length
2013-01-21 14:13:17 +08:00
Yuichiro MASUI
117e2ec065
Export build flags to lib/libmruby.flags.mak
2013-01-21 14:05:42 +09:00
Yuichiro MASUI
0defb59053
build_config gets more flexibility
2013-01-21 12:46:17 +09:00
Yuichiro MASUI
ced80d2b4b
Improved build scripts and config files
2013-01-20 22:48:42 +09:00