]> Cypherpunks.ru repositories - prepro.git/blob - USAGE
goget -> html
[prepro.git] / USAGE
1 mk-mod utility creates GOPROXY-compatible version of the module in the
2 current directory:
3     mk-mod VCS-URL VCS-PATH MODULE-NAME VERSION
4 Only Git VCS is supported. Git tag's name must be equal to VERSION.
5 mk-mods iterates through all tags:
6     mk-mods VCS-URL VCS-PATH MODULE-BASE-NAME
7
8 mk-list utility collects all known versions in current GOPROXY directory
9 and creates corresponding "list" files.
10
11 mk-html creates go-import-compatible static files:
12     mk-html VCS-WEB-URL MODULE-NAME
13
14 For example:
15     mkdir proxy
16     cd proxy
17     mk-mods https://git.cypherpunks.ru/balloon.git ~w/balloon go.cypherpunks.ru/balloon
18     mk-mods https://git.cypherpunks.ru/gotai64n.git ~w/gotai64n go.cypherpunks.ru/balloon/tai64n
19     mk-list
20     cd ..
21
22     mkdir html
23     cd html
24     mk-html "http://www.git.cypherpunks.ru/?p=balloon.git" go.cypherpunks.ru/balloon
25     mk-html "http://www.git.cypherpunks.ru/?p=balloon.git" go.cypherpunks.ru/balloon/v2