Abandon `minirake`. Use `rake` for compilation; fix #4884

parent fee3c1c2
...@@ -9,7 +9,7 @@ things in mind before submitting your pull request: ...@@ -9,7 +9,7 @@ things in mind before submitting your pull request:
* Work on the latest possible state of **mruby/master** * Work on the latest possible state of **mruby/master**
* Create a branch which is dedicated to your change * Create a branch which is dedicated to your change
* Test your changes before creating a pull request (```./minirake test```) * Test your changes before creating a pull request (```rake test```)
* If possible write a test case which confirms your change * If possible write a test case which confirms your change
* Don't mix several features or bug-fixes in one pull request * Don't mix several features or bug-fixes in one pull request
* Create a meaningful commit message * Create a meaningful commit message
......
# mruby is using Rake (http://rake.rubyforge.org) as a build tool. # mruby is using Rake (http://rake.rubyforge.org) as a build tool.
# We provide a minimalistic version called minirake inside of our
# codebase.
RAKE = ruby ./minirake RAKE = rake
all : all :
$(RAKE) $(RAKE)
......
...@@ -44,11 +44,7 @@ See the [compile.md](https://github.com/mruby/mruby/blob/master/doc/guides/compi ...@@ -44,11 +44,7 @@ See the [compile.md](https://github.com/mruby/mruby/blob/master/doc/guides/compi
To run the tests, execute the following from the project's root directory. To run the tests, execute the following from the project's root directory.
$ make test $ rake test
Or
$ ruby ./minirake test
## Building documentation ## Building documentation
......
...@@ -32,10 +32,10 @@ All tools necessary to compile mruby can be set or modified here. In case ...@@ -32,10 +32,10 @@ All tools necessary to compile mruby can be set or modified here. In case
you want to maintain an additional *build_config.rb* you can define a you want to maintain an additional *build_config.rb* you can define a
customized path using the *$MRUBY_CONFIG* environment variable. customized path using the *$MRUBY_CONFIG* environment variable.
To compile just call `./minirake` inside of the mruby source root. To To compile just call `rake` inside of the mruby source root. To
generate and execute the test tools call `./minirake test`. To clean generate and execute the test tools call `rake test`. To clean
all build files call `./minirake clean`. To see full command line on all build files call `rake clean`. To see full command line on
build, call `./minirake -v`. build, call `rake -v`.
## Build Configuration ## Build Configuration
......
...@@ -45,8 +45,8 @@ conf.gem mgem: 'mruby-redis', checksum_hash: '3446d19fc4a3f9697b5ddbf2a904f301c4 ...@@ -45,8 +45,8 @@ conf.gem mgem: 'mruby-redis', checksum_hash: '3446d19fc4a3f9697b5ddbf2a904f301c4
If there is missing dependencies, mrbgem dependencies solver will reference If there is missing dependencies, mrbgem dependencies solver will reference
mrbgem from core or mgem-list. mrbgem from core or mgem-list.
To pull all gems from remote GIT repository on build, call ```./minirake -p```, To pull all gems from remote GIT repository on build, call ```rake -p```,
or ```./minirake --pull-gems```. or ```rake --pull-gems```.
NOTE: `:bitbucket` option supports only git. Hg is unsupported in this version. NOTE: `:bitbucket` option supports only git. Hg is unsupported in this version.
...@@ -235,7 +235,7 @@ So it is recommended not to put GEM's local header files on include/. ...@@ -235,7 +235,7 @@ So it is recommended not to put GEM's local header files on include/.
These exports are retroactive. These exports are retroactive.
For example: when B depends to C and A depends to B, A will get include paths exported by C. For example: when B depends to C and A depends to B, A will get include paths exported by C.
Exported include_paths are automatically appended to GEM local include_paths by Minirake. Exported include_paths are automatically appended to GEM local include_paths by rake.
You can use `spec.export_include_paths` accessor if you want more complex build. You can use `spec.export_include_paths` accessor if you want more complex build.
......
This diff is collapsed.
...@@ -110,7 +110,7 @@ task :gitlab_config do ...@@ -110,7 +110,7 @@ task :gitlab_config do
'stage' => 'test', 'stage' => 'test',
'image' => ci_docker_tag(compiler), 'image' => ci_docker_tag(compiler),
'variables' => hash, 'variables' => hash,
'script' => 'env; ./minirake --verbose all test' 'script' => 'env; rake --verbose all test'
} }
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment