summaryrefslogtreecommitdiffhomepage
path: root/lib
AgeCommit message (Collapse)Author
2020-04-08Merged `cygwin_filename()` into `filename()` because Cygwin pathnames are in ↵mimaki
UNIX format.
2020-04-05Merge pull request #4960 from Reckordp/BuildAndroidYukihiro "Matz" Matsumoto
Validate windows by Dir testing
2020-04-04Revert part of #4959Yukihiro "Matz" Matsumoto
To prevent infinite loop on errors; reported by @shuujii
2020-04-03Helper for link window's libraryReckordp
2020-04-01build when directories and files have spacesDominic Sisneros
Modified the build to quote filenames so that it builds when files have spaces
2019-12-28Use `Rake.verbose` instead of `$verbose` and `$pp_show` in build scriptsKOBAYASHI Shuji
The incompatibility that the commands of `FileUtils` origin output verbose by default due to the changes in d8a5163b and 26e6e75b is also fixed.
2019-12-27Use Rake DSL instead of commands of `FileUtils`KOBAYASHI Shuji
- Respect `--verbose(-v)` and `--dry-run(-n)` options. - Silence warnings to keyword arguments on Ruby 2.7.
2019-12-23add double quotes for cygwin filenames #4904kishima
2019-12-22Use `git checkout` instead of `git reset`dearblue
With this change, if the checkout fails, it will stop with an error. The purpose is to avoid deleting working branch history when developing gem.
2019-12-22Display directory with git commanddearblue
2019-12-21Perform `shellquote` on referenced stringdearblue
2019-11-10Defer getting `caller_dir` until needed in `MRuby::LoadGems#gem`KOBAYASHI Shuji
2019-10-29Fix file/directory name parameter for `git` command.mimaki
2019-10-19Print mrbc command on verbose modetake-cheeze
2019-10-09Add mrbgem version field to lock filetake-cheeze
2019-09-13Fix warnings for invalid C++ option with `enable_cxx_abi`; ref #3618, #4703KOBAYASHI Shuji
2019-09-13Remove `-std=gnu99` when `enable_cxx_abi`; ref #4703Yukihiro "Matz" Matsumoto
To stop warnings since C++ do not accept `-std=gnu99` option.
2019-08-25Defer several build libraries loading until neededKOBAYASHI Shuji
2019-08-22Refine processing for gem lock fileKOBAYASHI Shuji
- Defer YAML library and lock file loading until needed. - Don't write empty parts into lock file. - Extract code to read/write lock file to `MRuby::Lockfile`. - `MRuby::Lockfile.disable` disables the use of lock file.
2019-08-22Separate repos directory and build directorytake-cheeze
closes #4652
2019-08-21Merge pull request #4180 from take-cheeze/lock_fileYukihiro "Matz" Matsumoto
Support lock file for git.
2019-08-08Remove monkey patches for Ruby 1.9 or earlierKOBAYASHI Shuji
2019-07-12Merge pull request #4571 from ↵Yukihiro "Matz" Matsumoto
shuujii/consider--MP-flag-specified-when-parsing-.d-file Consider `-MP` flag specified when parsing `.d` file
2019-07-12Lazy load `tasks/toolchains/*.rake`KOBAYASHI Shuji
2019-07-12Consider `-MP` flag specified when parsing `.d` fileKOBAYASHI Shuji
`-MP` flag is used in `tasks/toolchains/android.rake`.
2019-05-17Stop wrapping the filename by double quotes; ref #4440Yukihiro "Matz" Matsumoto
2019-05-17Revert "Add support for CC="gcc --option ..." again"Yukihiro "Matz" Matsumoto
This reverts commit d5c8868346b49e2b2228cb8733398d88f744985b.
2019-05-17Add support for CC="gcc --option ..." againKouhei Sutou
If $rake_root_fiber is used, sh runs command in another Fiber. If command is ran in another Fiber, "rescue RuntimEerror" can't rescue exception for system(...) failure. How to reproduce: $ CC="gcc -std=gnu99" ./minirake (in /home/kou/work/ruby/mruby.kou) CC mrbgems/mruby-compiler/core/codegen.c -> build/test/mrbgems/mruby-compiler/core/codegen.o sh: 1: gcc -std=gnu99: not found rake aborted! Command Failed: ["gcc -std=gnu99" -g -std=gnu99 ...]
2019-04-19Fixes the twiddle wakka comparison algorithm to support passing only a major ↵Rob
number
2019-03-10Add bintest headerKOBAYASHI Shuji
2019-03-08Allow `enable_bintest` without `enable_test` in build configKOBAYASHI Shuji
2019-03-02Remove unused `gem.bin=` method; close #4271Yukihiro "Matz" Matsumoto
2019-02-21Fix typo in `lib/mruby/build/command.rb`KOBAYASHI Shuji
2019-02-06Integrate definition of `MRuby::Build#exefile`KOBAYASHI Shuji
2019-02-02Extend only when necessary in `lib/mruby-core-ext.rb`KOBAYASHI Shuji
2019-01-14Fix build failed when set `conf.build_dir=<rel path>` and ↵dearblue
`conf.enable_cxx_exception`
2018-12-30Use `each_with_object` instead of `reduce`.KOBAYASHI Shuji
For fix Codacy issue.
2018-12-29Fix Yacc running multiple times.KOBAYASHI Shuji
Example: $ MRUBY_CONFIG=<(echo 'MRuby::Build.new{toolchain(:gcc);gem(core:"mruby-bin-mruby");enable_test}') ./minirake Before: ... CC build/host/mrbgems/gem_init.c -> build/host/mrbgems/gem_init.o YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o AR build/host/lib/libmruby_core.a ... After: ... CC build/host/mrbgems/gem_init.c -> build/host/mrbgems/gem_init.o YACC mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c CC build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o AR build/host/lib/libmruby_core.a ...
2018-12-06Support lock file for git.take-cheeze
2018-10-29Add debug flag to `MRuby::Build`take-cheeze
2018-10-29Merge pull request #4148 from take-cheeze/rename_libmruby_stuffYukihiro "Matz" Matsumoto
Rename `MRuby::Build#libmruby` stuff to avoid confusion
2018-10-29Rename libmruby stuff to avoid confusiontake-cheeze
2018-10-29Sort test script list tootake-cheeze
2018-09-20Allow nested gemboxes; fix #4124Yukihiro "Matz" Matsumoto
2018-09-05Merge pull request #4055 from take-cheeze/verbose_bintestYukihiro "Matz" Matsumoto
Support verbose mode in bintest.
2018-06-22Run tests parallelly for each target.take-cheeze
2018-06-21Support verbose mode in bintest.take-cheeze
2018-03-22Add `:path` option for git repository.Takeshi Watanabe
2018-03-05Add same fix as #3964 to lib/mruby/gem.rb .Takeshi Watanabe
2018-02-16Add verbose flag to cross test runner too.Takeshi Watanabe