Add a shared git hooks directory
This PR adds a place to share git hooks.
This commit is contained in:
parent
ec10e07f61
commit
38f986ca7e
|
@ -4,6 +4,8 @@ Nomad itself.
|
|||
See the individual packages for more detail on how to use the configuration
|
||||
files. At a high-level the use case for each package is as follows:
|
||||
|
||||
* `hooks`: This package provides helpful git hooks for developing Nomad.
|
||||
|
||||
* `docker-clients`: This package provides a Nomad job file that can be used to
|
||||
spin up Nomad clients in Docker containers. This provides a simple mechanism
|
||||
to create a Nomad cluster locally.
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$remote" == "enterprise" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -f version/version_ent.go ]; then
|
||||
echo "Found enterprise version file while pushing to oss remote"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue