summaryrefslogtreecommitdiff
path: root/homebrew/chakra/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/chakra/.make.sh-auto')
-rw-r--r--homebrew/chakra/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/chakra/.make.sh-auto b/homebrew/chakra/.make.sh-auto
new file mode 100644
index 000000000..80e3ef19f
--- /dev/null
+++ b/homebrew/chakra/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+args = [
+"--lto-thin", "--icu=#{Formula["icu4c"].opt_include}", "--extra-defines=U_USING_ICU_NAMESPACE=1",
+"-j=#{ENV.make_jobs}", "-y", ]
+./build.sh *args
+./build.sh --static *args
+bin.install "out/Release/ch" => "chakra"
+include.install Dir["out/Release/include/*"]
+lib.install "out/Release/libChakraCore.dylib"