Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.72 KB

README.md

File metadata and controls

56 lines (44 loc) · 1.72 KB

Command Wrapper Toolset habit

Requirements:

  • Direnv
  • Nix
  • Stack
  • Docker (Required only for building static executables)

Usage:

Project specific commands:

habit [GLOBAL_OPTIONS] {build|build-static|install|test} [SUBCOMMAND_ARGUMENTS]

Generic usage:

habit [GLOBAL_OPTIONS] SUBCOMMAND [--] [SUBCOMMAND_ARGUMENTS]
habit [GLOBAL_OPTIONS] help [SUBCOMMAND]
habit [GLOBAL_OPTIONS] config [SUBCOMMAND] [CONFIG_OPTIONS]
habit [GLOBAL_OPTIONS] completion [COMPLETION_OPTIONS]
habit [GLOBAL_OPTIONS] version [VERSION_OPTIONS]
habit {--help|-h}
habit {--version|-V}

Directory Structure

${REPO}/dev/
  ├── config/
  │   ├── habit/
  │   │   ├── command-wrapper-exec.dhall
  │   │   ├── default/
  │   │   │   ├── constructor.dhall
  │   │   │   └── exec-aliases.dhall
  │   │   ├── default.dhall  <<< Symbolic link to file generated by Direnv.
  │   │   ├── exec/
  │   │   │   └── commands.dhall
  │   │   └── options.dhall  <<< Symbolic link to file generated by Direnv.
  │   └── lib/
  │       ├── CommandWrapper  <<< Symbolic link to file generated by Direnv.
  │       ├── Exec            <<< Symbolic link to file generated by Direnv.
  │       └── Prelude         <<< Symbolic link to file generated by Direnv.
  ├── project-toolset-setup.envrc  <<< Toolset-specific configuration via Direnv.
  ├── dot.envrc
  ├── nix
  │   └── habit.nix  <<< Derivation responsible for toolset installation.
  └── shell.nix