aboutsummaryrefslogtreecommitdiff
path: root/script_test.go
AgeCommit message (Collapse)Author
2024-03-22all: replace module "share" with "pakakeh.go"Shulhan
The "share" project has been moved to SourceHut with new name "pakakeh.go".
2023-11-11script: respect spaces when joining multi lines commandShulhan
If a multi lines command does not have spaces or have multiple spaces, join them as is. For example, a\ b should return the value as "ab", while a \ b should return "a b".
2023-10-12all: tag all unit test files with "!integration"Shulhan
This will allow us to build test binary that contains only "integration" build constraints. The test that have "integration" will be run using container.
2023-03-26all: add configuration for golangci-lintShulhan
With configuration we can enable or disable specific linters and customize it without touching the Makefile. While at it, enable linter presets for bugs, comment, metalinter, module, performance, unused and fix the reported issues.
2022-08-01all: clean up codesShulhan
Replace ":=" with explicit variable declaration with types for clarity and minimizing duplicate variables.
2022-03-14all: change the awwan software license to GPL 3.0 or laterShulhan
See https://kilabit.info/journal/2022/gpl for more information.
2021-08-11all: join the require statement into single lineShulhan
Previously the statement for #require: must be declared on the next line. This changes deprecated the statement to be declared on the next line, instead it must be on the same line as require itself.
2021-08-09all: rewrite the join statements function on ScriptShulhan
Some enhancements and fixes, * Trim the spaces on each statement before checking for continued line * Trim the spaces on continued line * Set the empty lines to nil, to minimize memory usage