File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ WORKDIR = $(PWD)
4
4
# Go parameters
5
5
GOCMD = go
6
6
GOTEST = $(GOCMD ) test -v
7
-
7
+ [email protected] :dpordomingo/go-git.git
8
8
# Git config
9
9
GIT_VERSION ?=
10
10
GIT_DIST_PATH ?= $(PWD ) /.git-dist
@@ -19,6 +19,30 @@ ifneq ($(origin CI), undefined)
19
19
WORKDIR := $(GOPATH)/src/gopkg.in/src-d/go-git.v4
20
20
endif
21
21
22
+
23
+ # list of languages to build the documentation for
24
+ # example: LANGUAGES = python cpp
25
+ LANGUAGES = go
26
+ # destination output of the built docs
27
+ DESTINATION_FOLDER ?= ./output
28
+ # name of the version docs being built
29
+ VERSION_NAME ?= $(git name-rev --tags --name-only `git rev-parse HEAD` )
30
+ # repository name
31
+ REPOSITORY ?= "go-git"
32
+ # user or organization who owns the repository
33
+ REPOSITORY_OWNER ?= "dpordomingo"
34
+
35
+ # do not edit this
36
+ SHARED_FOLDER ?= /etc/shared
37
+ MAKEFILE = Makefile.docs
38
+
39
+ $(MAKEFILE ) :
40
+ cp " $( SHARED_FOLDER) /ci/Makefile.docs" . ;
41
+
42
+ -include $(MAKEFILE )
43
+
44
+
45
+
22
46
build-git :
23
47
@if [ -f $( GIT_DIST_PATH) /git ]; then \
24
48
echo " nothing to do, using cache $( GIT_DIST_PATH) " ; \
@@ -49,4 +73,4 @@ test-coverage:
49
73
done ; \
50
74
51
75
clean :
52
- rm -rf $(GIT_DIST_PATH )
76
+ rm -rf $(GIT_DIST_PATH )
You can’t perform that action at this time.
0 commit comments