Commit 4395098476ce112d65461ddc8566f39fa2d3469c
1 parent
5cf999ac
Exists in
master
and in
17 other branches
Add gitlab-shell software definition
Showing
1 changed file
with
13 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
1 | +name "gitlab-shell" | ||
2 | +version "v1.8.0" | ||
3 | + | ||
4 | +dependency "ruby" | ||
5 | +dependency "rsync" | ||
6 | + | ||
7 | +source :git => "https://gitlab.com/gitlab-org/gitlab-shell.git" | ||
8 | + | ||
9 | +build do | ||
10 | + command "sed -i 's|^#!/usr/bin/env ruby|#!#{install_dir}/embedded/bin/ruby|' $(grep -r -l '#!/usr/bin/env ruby' .)" | ||
11 | + command "mkdir -p #{install_dir}/embedded/services/gitlab-shell" | ||
12 | + command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./ #{install_dir}/embedded/services/gitlab-shell/" | ||
13 | +end |