Hello. Working on a repository. Is there an equi...
# help
m
Hello. Working on a repository. Is there an equivalent to a ‘.gitignore’ for the CLI?
a
Hey there - we don't support this currently. What is your setup which is leading to needing this?
m
I want to add some extra files to the repository for testing. One is a yml file so is causing the compile to fail.
We use Taskfile as a task runner. We can use something else just wondering if we have too.
a
I see. For now could you move your policy files into a folder then set your configuration to point to that folder?
m
Yes, but then I don’t know to make the HUB point to the correct place.
a
In the settings section of your workspace, you can define which directory Hub will use to read policies from
Default is root, but you can change it to wherever makes sense for your repo
m
Perfect. Thank you @Alex Olivier (Cerbos)
👍 1