aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCatalin Stratu <catalinstratu45@gmail.com>2022-03-14 15:47:10 +0200
committerCatalin Stratu <catalinstratu45@gmail.com>2022-03-15 11:24:38 +0200
commitbca2ddb00788bfacc9fa5eb95e544b11998216b6 (patch)
treed36f173ebd33678304defdbb72b0e2a8075165fd /examples
parent9eeb46e841a8558ac3bad1cde8b91b8f63b39219 (diff)
downloadspdx-tools-bca2ddb00788bfacc9fa5eb95e544b11998216b6.tar.gz
builder: File paths are not relative, bug fixes
Signed-off-by: Catalin Stratu <catalinstratu45@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/3-build/example_build.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/3-build/example_build.go b/examples/3-build/example_build.go
index cc63bb7..8fc6b6b 100644
--- a/examples/3-build/example_build.go
+++ b/examples/3-build/example_build.go
@@ -5,6 +5,7 @@
// This example demonstrates building an 'empty' SPDX document in memory that
// corresponds to a given directory's contents, including all files with their
// hashes and the package's verification code, and saving the document to disk.
+// Run project: go run example_build.go project2 ../../testdata/project2 test.spdx
package main