Project

General

Profile

« Previous | Next » 

Revision 363cbbb6

Added by koszko over 1 year ago

add Hydrilla builder manpage

View differences:

doc/man/man1/hydrilla-builder.1
1
.\" SPDX-License-Identifier: CC0-1.0
2
.\"
3
.\" Man page for Hydrilla builder.
4
.\"
5
.\" Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
6
.\"
7
.\" Available under the terms of Creative Commons Zero v1.0 Universal.
8

  
9
.TH HYDRILLA-BUILDER 1 2022-03-01 "Hydrilla 1.0" "Hydrilla Manual"
10

  
11
.SH NAME
12
hydrilla-builder \- Generate packages to be served by Hydrilla
13

  
14
.SH SYNOPSIS
15
.B "hydrilla\-builder \-\-help"
16
.br
17
.B "hydrilla\-builder [\-s \fISOURCE\/\fP] [\-i\ \fIINDEX_PATH\/\fP]"
18
.B "\-d \fIDESTINATION\/\fP"
19
.br
20
(See the OPTIONS section for alternate option syntax with long option
21
names.)
22

  
23
.SH DESCRIPTION
24
.I hydrilla-builder
25
is a tool which takes a Hydrilla source package and generates files of a
26
built package, suitable for serving by the Hydrilla server.
27

  
28
As of Hydrilla version 1.0
29
.I hydrilla-builder
30
does not yet perform nor trigger actions like compilation, minification or
31
bundling of source code files. Its main function is to automate the process
32
of computing SHA256 cryptographic sums of package files and including them
33
in JSON definitions.
34

  
35
In addition,
36
.B hydrilla\-builder
37
can generate an SPDX report from source package if the
38
\*(lqreuse_generate_spdx_report\*(rq property is set to true in index.json.
39

  
40
.SH OPTIONS
41
.TP
42
.B \-\^\-help
43
Output a usage message and exit.
44

  
45
.TP
46
.BI \-s " SOURCE" "\fR,\fP \-\^\-srcdir=" SOURCE
47
Use
48
.I SOURCE
49
as source package directory to build from.
50
If not specified, current directory is used.
51

  
52
.TP
53
.BI \-i " INDEX_PATH" "\fR,\fP \-\^\-index\-json=" INDEX_PATH
54
Process the JSON file under
55
.I INDEX_PATH
56
instead of index.json inside source directory.
57
.I INDEX_PATH
58
may be either absolute or relative.
59
In the latter case it is resolved with respect to the source directory.
60

  
61
File provided as
62
.I INDEX_PATH
63
will also be included in the generated source archive as
64
\*(lqindex.json\*(rq, substituting any file with such name that could be
65
present in the source directory.
66

  
67
.TP
68
.BI \-d " DESTINATION" "\fR,\fP \-\^\-dstdir=" DESTINATION
69
Write generated files under
70
.IR DESTINATION .
71
Files are written in such way that
72
.I DESTINATION
73
is valid for being passed to Hydrilla to serve packages from.
74

  
75
.SH "EXIT STATUS"
76
The exit status is 0 if build was performed successfully or if the
77
.B \-\^\-help
78
option was passed. It is a number different from 0 in all other cases.
79

  
80
.SH "SEE ALSO"
81
.SS "Manual Pages"
82
.BR hydrilla (1).
83

  
84
.SS "Full Documentation"
85
.UR https://hydrillabugs.koszko.org/projects/hydrilla/wiki
86
Online documentation
87
.UE
88
is available on Hydrilla issue tracker.

Also available in: Unified diff