You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the project root, run the command in a bash terminal to set up git hooks.
166
+
167
+
```bash
168
+
./.githooks/.setup-hooks.sh
169
+
```
170
+
171
+
You should see the logs below after the successful setup.
172
+
173
+
```
174
+
Setting up Git hooks...
175
+
✅ Git hook installed: .git/hooks/pre-push
176
+
```
177
+
178
+
The reason for setting up this git hook (`pre-push`) is to block project-specific functions defined under `esdlvalidator/validation/functions/projects/` from being pushed to an open GitHub repository. This does not affect when pushing to the internal gitlab repository.
179
+
163
180
### Testing
164
181
165
182
Use the 'Test' tab is vscode or execute one of the following commands from the root folder
@@ -185,6 +202,12 @@ An example how to start the service using waitress.
0 commit comments