mirror of
https://github.com/google/nomulus.git
synced 2025-06-23 21:00:50 +02:00
Import code from internal repository to git
This commit is contained in:
commit
0ef0c933d2
2490 changed files with 281594 additions and 0 deletions
19
third_party/phantomjs/BUILD
vendored
Normal file
19
third_party/phantomjs/BUILD
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
licenses(["notice"]) # BSD
|
||||
|
||||
genrule(
|
||||
name = "phantomjs_bin",
|
||||
srcs = ["@phantomjs//file"],
|
||||
outs = ["phantomjs"],
|
||||
cmd = " && ".join([
|
||||
"IN=$$(pwd)/$(SRCS)",
|
||||
"OUT=$$(pwd)/$@",
|
||||
"TMP=$$(mktemp -d $${TMPDIR:-/tmp}/phantomjs.XXXXXXXX)",
|
||||
"cd $$TMP",
|
||||
"tar -xjf $$IN",
|
||||
"cd phantomjs-*",
|
||||
"mv bin/phantomjs $$OUT",
|
||||
"rm -rf $$TMP",
|
||||
]),
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue