]> Cypherpunks.ru repositories - prepro.git/blob - USAGE
mk-htmls
[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 mk-htmls iterates through all tags:
14     mk-htmls VCS-WEB-URL VCS-PATH MODULE-BASE-NAME
15
16 For example:
17     mkdir proxy
18     cd proxy
19     mk-mods https://git.cypherpunks.ru/balloon.git ~w/balloon go.cypherpunks.ru/balloon
20     mk-mods https://git.cypherpunks.ru/gotai64n.git ~w/gotai64n go.cypherpunks.ru/balloon/tai64n
21     mk-list
22     cd ..
23
24     mkdir html
25     cd html
26     mk-htmls "http://www.git.cypherpunks.ru/?p=balloon.git" ~w/balloon go.cypherpunks.ru/balloon
27     mk-htmls "http://www.git.cypherpunks.ru/?p=gotai64n.git" ~w/gotai64n go.cypherpunks.ru/balloon/tai64n