File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,16 @@ filegroup(
3737 visibility = ["//src:__subpackages__" ],
3838)
3939
40- genrule (
40+ # TODO(ddelnano): Figure out issues with bazel's make variables
41+ # genrule(
42+ # name = "script_bundle",
43+ # srcs = [":makefile"],
44+ # outs = ["bundle-oss.json"],
45+ # cmd = "cd src/pxl_scripts; echo $@; touch $@; OUTPUT=$@ make bundle-oss.json",
46+ # visibility = ["//src:__subpackages__"],
47+ # )
48+
49+ filegroup (
4150 name = "script_bundle" ,
42- srcs = [":makefile" ],
43- outs = ["bundle-oss.json" ],
44- cmd = "make -C src/pxl_scripts bundle-oss.json; cp bundle-oss.json $(@D)/bundle-oss.json" ,
45- visibility = ["//src:__subpackages__" ],
51+ srcs = ["bundle-oss.json" ],
4652)
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ all: bundle-oss.json.gz
2626
2727bundle-oss.json : $(script_files )
2828 px create-bundle --search_path $(PWD ) $(foreach dir,$(dirs ) ,--base $(dir ) ) -o $(PWD ) /bundle-oss.json
29+ # px create-bundle --search_path $(PWD) $(foreach dir,$(dirs),--base $(dir)) -o $(OUTPUT)
2930
3031bundle-oss.json.gz : bundle-oss.json
3132 gzip -c $< > $@
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments