Commit graph

9 commits

Author SHA1 Message Date
649f074d25
Update Project
All checks were successful
/ test (pull_request) Successful in 26s
/ lint (pull_request) Successful in 26s
Changes:

- ci: Add a workflow for Forgejo Actions
- docs: Update README.asciidoc
- tests: add a mage target for running tests
2023-12-06 14:42:18 +00:00
71d62ecaf6
refactor: add golangci-lint with code refactoring
Add golangci-lint for linting and refactor the code based on the
feedback from running it.

Changes:

- Add configuration for golangci-lint.
- Break the large function in create.go into smaller ones.
- Rename internal/templateFuncs to internal/templatefuncs to remove
  upper case letters in the package name.
- Add a mage target for lint tests.
2023-08-21 03:07:06 +01:00
b92ab4e437
feat: add JSON schema and document generator
Add the schema for the CV JSON documentation and add an internal tool
called spruce-docgen that generates an AsciiDoc referencing the schema.
2023-08-17 21:51:53 +01:00
d0d03f48b7
chore: move main.go to cmd/spruce
In preparation for additional binaries that may or may
not appear.
2023-08-16 23:33:28 +01:00
2739e2fd28
build: fix the copying of the binary 2023-08-12 14:08:50 +01:00
36acb1a324
feat: add create subcommand and FlagSet
- Add a new subcommand and FlagSet for creating new CV JSON files.
- fix: close the file after reading the CV.
2023-08-12 09:43:45 +01:00
2c57c3c278
build(clean): list files to remove
Add a list of files to remove when cleaning the workspace.
2023-08-11 19:31:26 +01:00
cee274318d
feat: add FlagSets to create new subcommands
Create new FlagSets to create new subcommands.

- The version subcommand prints the version and build info.
- The generate subcommand generates the CV PDF documentation.
2023-08-11 18:33:26 +01:00
69c3165fc1
build: replace make with mage
- Replace the makefile with the magefile
- Update the Dockerfile
- Update go.mod
2023-08-11 14:59:21 +01:00