aboutsummaryrefslogtreecommitdiff
path: root/testdata/New_test.txt
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-05 22:35:40 +0700
committerShulhan <ms@kilabit.info>2026-01-06 00:27:33 +0700
commit2cda75bc9385da199b4db5f6cc2692bfd694fcf1 (patch)
tree75841e8ab18c3838256461e3a8b8c66c5d844ad5 /testdata/New_test.txt
downloadspdxconv-2cda75bc9385da199b4db5f6cc2692bfd694fcf1.tar.xz
spdxconv: tool to convert license and copyright to SPDX format
This is the initial implementation, work in progress, with the following functions, * loading the spdxconv.cfg file * scanning list of files to be converted * detect .git repository and exclude files ignored by .gitignore No conversion logic is implemented yet.
Diffstat (limited to 'testdata/New_test.txt')
-rw-r--r--testdata/New_test.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/testdata/New_test.txt b/testdata/New_test.txt
new file mode 100644
index 0000000..2b718d3
--- /dev/null
+++ b/testdata/New_test.txt
@@ -0,0 +1,36 @@
+// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info>
+
+>>> .git/config
+# Copyright 2022, Shulhan <ms@kilabit.info>. All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+>>> .gitignore
+node_modules/
+*.html
+!test.html
+vendor/
+
+>>> node_modules/dummy
+Dummy content for node_modules directory.
+
+>>> test.go
+// Copyright 2022, Shulhan <ms@kilabit.info>. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+>>> test.html
+<!--
+Copyright 2022, Shulhan <ms@kilabit.info>. All rights reserved.
+Use of this source code is governed by a BSD-style
+license that can be found in the LICENSE file.
+-->
+
+>>> test.sh
+# Copyright 2022, Shulhan <ms@kilabit.info>. All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+>>> vendor/dummy
+Dummy content for vendor directory.