Skip to content
Tony edited this page May 28, 2022 · 2 revisions

rember.yml explained

hookDirectory: .husky
tasks:
- name: Build
  command: dotnet build
  outputEnabled: false  # Default is true
  alwaysRun: true       # Default is false
  • hookDirectory: The hook directory should only be used if you, for whatever reason, are not using the default git hooks location. You can check your current hook path by running git config core.hooksPath, if nothing is printed then ignore this, otherwise set it to whatever value is printed. Keep in mind that Rember will replace any pre-push hooks you already have!

  • name: The name of your task

  • command: The command you want to run

  • outputEnabled: Controlls if you can view the logs that would normally be printed to the console by the specified command. Recommended to set to true for debugging purposes.

  • alwaysRun: This is required to be set to true if you are using git clients (like GitKraken). If enabled, the tasks will run automatically instead of asking you first. If you are using git commands from the command line, it is recommended that you set this to false as it gives you the option to skip tasks that you know will work.

Clone this wiki locally