summaryrefslogtreecommitdiff
path: root/packages/scripts/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'packages/scripts/build.gradle')
-rw-r--r--packages/scripts/build.gradle6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/scripts/build.gradle b/packages/scripts/build.gradle
index d10b19e..0e7d121 100644
--- a/packages/scripts/build.gradle
+++ b/packages/scripts/build.gradle
@@ -4,3 +4,9 @@ ospackage {
into "/opt/${project.name}"
from files('resources')
}
+
+tasks.getByName('createActivator').doFirst {
+ new File("resources/bin").listFiles().each {
+ activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
+ }
+} \ No newline at end of file