File tree 3 files changed +9
-11
lines changed
3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 7
7
.gitlab_shell_secret
8
8
.idea
9
9
/* .log *
10
- /bin /check
11
- /bin /gitlab-shell
12
- /bin /gitlab-shell-authorized-keys-check
13
- /bin /gitlab-shell-authorized-principals-check
14
- /bin /gitlab-sshd
10
+ /bin /*
15
11
/gl-code-quality-report.json
16
12
/go_build
17
13
/support /bin /golangci- *
Original file line number Diff line number Diff line change @@ -96,16 +96,18 @@ ${GOLANGCI_LINT_FILE}:
96
96
97
97
setup : make_necessary_dirs bin/gitlab-shell
98
98
99
- make_necessary_dirs : _script_install
100
- _script_install :
101
- bin/install
99
+ make_necessary_dirs :
100
+ support/make_necessary_dirs
102
101
103
102
compile : bin/gitlab-shell bin/gitlab-sshd
104
103
105
- bin/gitlab-shell : $(GO_SOURCES )
104
+ bin :
105
+ mkdir -p bin
106
+
107
+ bin/gitlab-shell : bin $(GO_SOURCES )
106
108
go build $(GOBUILD_FLAGS ) -o $(CURDIR ) /bin ./cmd/...
107
109
108
- bin/gitlab-sshd : $(GO_SOURCES )
110
+ bin/gitlab-sshd : bin $(GO_SOURCES )
109
111
go build $(GOBUILD_FLAGS ) -o $(CURDIR ) /bin/gitlab-sshd ./cmd/gitlab-sshd
110
112
111
113
check :
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env ruby
2
2
3
3
# Load ROOT_PATH and access the minimum necessary config file
4
- require_relative '../support/ gitlab_config'
4
+ require_relative 'gitlab_config'
5
5
6
6
config = GitlabConfig . new
7
7
key_dir = File . dirname ( "#{ config . auth_file } " )
You can’t perform that action at this time.
0 commit comments