summaryrefslogtreecommitdiff
path: root/homebrew/chakra/.make.sh-auto
blob: 80e3ef19f8c943be20cfc399e7296a8f0f510760 (plain)
1
2
3
4
5
6
7
8
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"