add license
go vet and golint for subpkgs
add .build.yml
litmus serves Go import meta tags like described at the Go Wiki.
create a file containing the package definitions as JSON, packages.json
being the default filename
(an example for this file can also be written to stdout using -packagesExample
):
cat << EOF > packages.json
[
{
"name":"litmus",
"vcs":"git",
"path":"https://git.sr.ht/~rbn/litmus",
"website":"https://git.sr.ht/~rbn/litmus"
},
{
"name":"neinp",
"vcs":"git",
"path":"https://git.sr.ht/~rbn/neinp",
"website":"https://git.sr.ht/~rbn/neinp"
},
{
"name":"rssfs",
"vcs":"git",
"path":"https://git.sr.ht/~rbn/rssfs",
"website":"https://git.sr.ht/~rbn/rssfs"
},
{
"name":"fit",
"vcs":"git",
"path":"https://git.sr.ht/~rbn/fit",
"website":"https://git.sr.ht/~rbn/fit"
}
]
EOF
and run litmus:
litmus
it should now serve at localhost:1337
. either run it using another -addr
or reverse proxy it.
if a reverse proxy is used, you should either give the -prefix
parameter containing the FQDN where
litmus is reached, or the reverse proxy should hand down the right value in the Host
HTTP-header.
with the packages defined as above, the litmus package would have the import path
go.rbn.im/litmus
.
bugs and patches can be submitted to [code ate rbn.im](mailto:code ate rbn.im).