Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0f757bec
Commit
0f757bec
authored
Oct 18, 2019
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab-shell: replace `bin/compile` with `make build`
parent
ee421052
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/tasks/gitlab/shell.rake
lib/tasks/gitlab/shell.rake
+1
-1
spec/tasks/gitlab/shell_rake_spec.rb
spec/tasks/gitlab/shell_rake_spec.rb
+1
-1
No files found.
lib/tasks/gitlab/shell.rake
View file @
0f757bec
...
...
@@ -43,7 +43,7 @@ namespace :gitlab do
[
%w(bin/install)
+
repository_storage_paths_args
,
%w(
bin/compile
)
%w(
make build
)
].
each
do
|
cmd
|
unless
Kernel
.
system
(
*
cmd
)
raise
"command failed:
#{
cmd
.
join
(
' '
)
}
"
...
...
spec/tasks/gitlab/shell_rake_spec.rb
View file @
0f757bec
...
...
@@ -17,7 +17,7 @@ describe 'gitlab:shell rake tasks' do
expect_any_instance_of
(
Gitlab
::
TaskHelpers
).
to
receive
(
:checkout_or_clone_version
)
allow
(
Kernel
).
to
receive
(
:system
).
with
(
'bin/install'
,
*
storages
).
and_return
(
true
)
allow
(
Kernel
).
to
receive
(
:system
).
with
(
'
bin/compile
'
).
and_return
(
true
)
allow
(
Kernel
).
to
receive
(
:system
).
with
(
'
make'
,
'build
'
).
and_return
(
true
)
run_rake_task
(
'gitlab:shell:install'
)
end
...
...
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