]> Cypherpunks.ru repositories - prepro.git/blob - USAGE
Initial commit
[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
6 mk-list utility collects all known versions in current GOPROXY directory
7 and creates corresponding "list" files.
8
9 mk-goget creates go-import-compatible static files:
10     mk-goget VCS-WEB-URL MODULE-NAME.
11
12 For example:
13     mkdir proxy
14     cd proxy
15     mk-mod https://git.cypherpunks.ru/balloon.git ~w/balloon go.cypherpunks.ru/balloon v1.1.1
16     mk-mod https://git.cypherpunks.ru/balloon.git ~w/balloon go.cypherpunks.ru/balloon/v2 v2.0.0
17     mk-list
18     cd ..
19
20     mkdir goget
21     cd goget
22     mk-goget "http://www.git.cypherpunks.ru/?p=balloon.git" go.cypherpunks.ru/balloon
23     mk-goget "http://www.git.cypherpunks.ru/?p=balloon.git" go.cypherpunks.ru/balloon/v2