Skip to content
Snippets Groups Projects
Verified Commit ec6230c9 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: reorganize structure

parent 56f174e7
No related branches found
No related tags found
No related merge requests found
Showing
with 7 additions and 8 deletions
......@@ -28,9 +28,6 @@
# Nixpkgs instantiated for supported system types.
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
in
{
......@@ -45,7 +42,7 @@
inherit version;
# In 'nix develop', we don't need a copy of the source tree
# in the Nix store.
src = ././application/source;
src = ././source;
# This hash locks the dependencies of this package. It is
# necessary because of how Go requires network access to resolve
......
## Project directory in which the Makefiles should be located
MAKEFILE_IMPORT_PATH=$(PROJECT_ROOT)development/makefiles/
File moved
File moved
File moved
......@@ -36,6 +36,12 @@ type Definition struct {
Specification string `short:"s" long:"specification" description:"Specification file" required:"true"`
} `command:"cut" description:"Cut html" call:"CutHTML"`
} `command:"html" description:"HTML related commands"`
Version struct {
} `command:"version" description:"Prints the version" call:"PrintVersion"`
}
func (d *Definition) PrintVersion(s *xflags.Settings[Definition]) {
fmt.Println(GetMnemonic() + " " + GetVersion() + " (" + GetBuild() + ")")
}
func (d *Definition) CutHTML(s *xflags.Settings[Definition]) {
......
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment