summaryrefslogtreecommitdiff
path: root/src/hatch_django_collectstatic/hooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/hatch_django_collectstatic/hooks.py')
-rw-r--r--src/hatch_django_collectstatic/hooks.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hatch_django_collectstatic/hooks.py b/src/hatch_django_collectstatic/hooks.py
new file mode 100644
index 0000000..e36006e
--- /dev/null
+++ b/src/hatch_django_collectstatic/hooks.py
@@ -0,0 +1,8 @@
+from hatchling.plugin import hookimpl
+
+from .plugin import DjangoCollectstaticBuildHook
+
+
+@hookimpl
+def hatch_register_build_hook():
+ return DjangoCollectstaticBuildHook