summaryrefslogtreecommitdiff
path: root/homebrew/scalariform/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/scalariform/.make.sh-auto')
-rw-r--r--homebrew/scalariform/.make.sh-auto8
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/scalariform/.make.sh-auto b/homebrew/scalariform/.make.sh-auto
new file mode 100644
index 000000000..5de2a6d49
--- /dev/null
+++ b/homebrew/scalariform/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+sbt project cli assembly
+libexec.install Dir["cli/target/scala-*/cli-assembly-*.jar"]
+bin.write_jar_script Dir[libexec/"cli-assembly-*.jar"][0], "scalariform"
+else
+libexec.install "scalariform.jar"
+bin.write_jar_script libexec/"scalariform.jar", "scalariform"
+end