Skip to content

Commit

Permalink
Merge pull request #20 from dpordomingo/docsrv
Browse files Browse the repository at this point in the history
Implement Docsrv
  • Loading branch information
abeaumont authored Oct 17, 2017
2 parents 0169e36 + aeeab8c commit b4cd504
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Folders
_obj
_test
.docsrv-resources

# Architecture specific extensions/prefixes
*.[568vq]
Expand Down
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Docsrv: configure the languages whose api-doc can be auto generated
LANGUAGES = "go"
# Docs: do not edit this
DOCS_REPOSITORY := https://github.com/src-d/docs
SHARED_PATH ?= $(shell pwd)/.docsrv-resources
DOCS_PATH ?= $(SHARED_PATH)/.docs
$(DOCS_PATH)/Makefile.inc:
git clone --quiet --depth 1 $(DOCS_REPOSITORY) $(DOCS_PATH);
-include $(DOCS_PATH)/Makefile.inc

# Package configuration
PROJECT = siva
COMMANDS = cmd/siva
Expand All @@ -6,10 +16,8 @@ COMMANDS = cmd/siva
MAKEFILE = Makefile.main
CI_REPOSITORY = https://github.com/src-d/ci.git
CI_FOLDER = .ci

$(MAKEFILE):
@git clone --quiet $(CI_REPOSITORY) $(CI_FOLDER); \
cp $(CI_FOLDER)/$(MAKEFILE) .;

-include $(MAKEFILE)

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The library implements a very similar API to the go [tar package](https://golang

- [Library reference](http://godoc.org/gopkg.in/src-d/go-siva.v1)
- [Command-line interface](#cli)
- [Format specification](SPEC.md)
- [Format specification](https://github.com/src-d/go-siva/blob/master/SPEC.md)


Installation
Expand Down

0 comments on commit b4cd504

Please sign in to comment.