Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
b97ebf2a
Commit
b97ebf2a
authored
Dec 29, 2019
by
KOBAYASHI Shuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid unneeded directory creation during `rake -T`, etc.
parent
e9de5a7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
mrbgems/mruby-test/mrbgem.rake
mrbgems/mruby-test/mrbgem.rake
+1
-6
No files found.
mrbgems/mruby-test/mrbgem.rake
View file @
b97ebf2a
...
@@ -149,12 +149,7 @@ MRuby::Gem::Specification.new('mruby-test') do |spec|
...
@@ -149,12 +149,7 @@ MRuby::Gem::Specification.new('mruby-test') do |spec|
# of the test gem depending on a change to the gem
# of the test gem depending on a change to the gem
# selection
# selection
active_gems_path
=
"
#{
build_dir
}
/active_gems_path.lst"
active_gems_path
=
"
#{
build_dir
}
/active_gems_path.lst"
active_gem_list
=
if
File
.
exist?
active_gems_path
active_gem_list
=
File
.
read
active_gems_path
if
File
.
exist?
active_gems_path
File
.
read
active_gems_path
else
mkdir_p
File
.
dirname
(
active_gems_path
)
nil
end
current_gem_list
=
build
.
gems
.
map
(
&
:name
).
join
(
"
\n
"
)
current_gem_list
=
build
.
gems
.
map
(
&
:name
).
join
(
"
\n
"
)
task
active_gems_path
do
|
_t
|
task
active_gems_path
do
|
_t
|
mkdir_p
File
.
dirname
(
active_gems_path
)
mkdir_p
File
.
dirname
(
active_gems_path
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment