mimaki
a8ab74a6dc
Merged cygwin_filename() into filename() because Cygwin pathnames are in UNIX format.
2020-04-08 13:27:14 +09:00
Yukihiro "Matz" Matsumoto
3cef380b20
Revert part of #4959
...
To prevent infinite loop on errors; reported by @shuujii
2020-04-04 11:50:59 +09:00
Dominic Sisneros
e3875ae8c5
build when directories and files have spaces
...
Modified the build to quote filenames so that it builds when files have spaces
2020-04-01 11:55:35 -06:00
KOBAYASHI Shuji
bb98fd78c3
Use Rake.verbose instead of $verbose and $pp_show in build scripts
...
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-28 17:03:37 +09:00
KOBAYASHI Shuji
26e6e75ba6
Use Rake DSL instead of commands of FileUtils
...
- Respect `--verbose(-v)` and `--dry-run(-n)` options.
- Silence warnings to keyword arguments on Ruby 2.7.
2019-12-27 16:49:32 +09:00
dearblue
f08d9b288d
Use git checkout instead of git reset
...
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-22 15:09:29 +09:00
dearblue
dc15c2838f
Display directory with git command
2019-12-22 14:26:00 +09:00
dearblue
acef52c35e
Perform shellquote on referenced string
2019-12-21 17:25:22 +09:00
KOBAYASHI Shuji
b5946822af
Defer getting caller_dir until needed in MRuby::LoadGems#gem
2019-11-10 19:40:07 +09:00
mimaki
f68212cc7a
Fix file/directory name parameter for git command.
2019-10-29 20:56:12 +09:00
take-cheeze
4877dbf2a9
Print mrbc command on verbose mode
2019-10-19 01:42:34 +09:00
take-cheeze
f7616c4287
Add mrbgem version field to lock file
2019-10-09 02:22:33 +09:00
KOBAYASHI Shuji
be76cec342
Fix warnings for invalid C++ option with enable_cxx_abi; ref #3618 , #4703
2019-09-13 17:14:37 +09:00
KOBAYASHI Shuji
e312842a18
Refine processing for gem lock file
...
- 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-22 21:40:01 +09:00
Yukihiro "Matz" Matsumoto
90bffaa2a6
Merge pull request #4180 from take-cheeze/lock_file
...
Support lock file for git.
2019-08-21 17:17:30 +09:00
KOBAYASHI Shuji
66909dfe86
Consider -MP flag specified when parsing .d file
...
`-MP` flag is used in `tasks/toolchains/android.rake`.
2019-07-12 14:23:35 +09:00
Yukihiro "Matz" Matsumoto
8d37a3575b
Revert "Add support for CC="gcc --option ..." again"
...
This reverts commit d5c8868346 .
2019-05-17 22:37:45 +09:00
Kouhei Sutou
d5c8868346
Add support for CC="gcc --option ..." again
...
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-05-17 17:59:24 +09:00
KOBAYASHI Shuji
37fb5f929f
Fix typo in lib/mruby/build/command.rb
2019-02-21 19:47:00 +09:00
take-cheeze
b6850f88a1
Support lock file for git.
2018-12-06 11:47:17 +09:00
Takeshi Watanabe
4940ddb9fc
Add :path option for git repository.
2018-03-22 12:42:41 +09:00
Uchio KONDO
9c2db2e134
Move class/module definitions to normal .rb files
2017-04-04 12:03:43 +09:00
Uchio KONDO
86b69d7c5d
Initial skelton for class/module def
2017-04-04 11:57:17 +09:00