mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Standardize commands inside backticks
Remove whitespace
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ things in mind before submitting your pull request:
|
||||
|
||||
* Work on the latest possible state of **mruby/master**
|
||||
* Create a branch which is dedicated to your change
|
||||
* Test your changes before creating a pull request (```rake test```)
|
||||
* Test your changes before creating a pull request (`rake test`)
|
||||
* If possible write a test case which confirms your change
|
||||
* Don't mix several features or bug-fixes in one pull request
|
||||
* Create a meaningful commit message
|
||||
|
||||
@@ -138,18 +138,18 @@ C Compiler has header searcher to detect installed library.
|
||||
If you need an include path of header file use `search_header_path`:
|
||||
|
||||
```ruby
|
||||
# Searches ```iconv.h```.
|
||||
# Searches `iconv.h`.
|
||||
# If found it will return include path of the header file.
|
||||
# Otherwise it will return nil .
|
||||
# Otherwise it will return nil.
|
||||
fail 'iconv.h not found' unless conf.cc.search_header_path 'iconv.h'
|
||||
```
|
||||
|
||||
If you need a full file name of header file use `search_header`:
|
||||
|
||||
```ruby
|
||||
# Searches ```iconv.h```.
|
||||
# Searches `iconv.h`.
|
||||
# If found it will return full path of the header file.
|
||||
# Otherwise it will return nil .
|
||||
# Otherwise it will return nil.
|
||||
iconv_h = conf.cc.search_header 'iconv.h'
|
||||
print "iconv.h found: #{iconv_h}\n"
|
||||
```
|
||||
|
||||
@@ -55,8 +55,8 @@ conf.gem mgem: 'mruby-redis', checksum_hash: '3446d19fc4a3f9697b5ddbf2a904f301c4
|
||||
If there are missing dependencies, mrbgem dependencies solver will reference
|
||||
mrbgem from the core or mgem-list.
|
||||
|
||||
To pull all gems from remote GIT repository on build, call ```rake -p```,
|
||||
or ```rake --pull-gems```.
|
||||
To pull all gems from remote GIT repository on build, call `rake -p`,
|
||||
or `rake --pull-gems`.
|
||||
|
||||
NOTE: `:bitbucket` option supports only git. Hg is unsupported in this version.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user