Skip to content

Commit 162484a

Browse files
committed
add a comment for the phony build.ninja trick
1 parent 9082b71 commit 162484a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

jscomp/bsb/bsb_ninja_gen.ml

+4
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ let output_static_resources
8888
~order_only_deps:static_resources
8989
~inputs:[]
9090
~output:Literals.build_ninja
91+
(*
92+
FIXME: check if the trick still works
93+
phony build.ninja : | resources
94+
*)
9195

9296

9397
let output_ninja_and_namespace_map

lib/4.06.1/bsb.ml

+4
Original file line numberDiff line numberDiff line change
@@ -13542,6 +13542,10 @@ let output_static_resources
1354213542
~order_only_deps:static_resources
1354313543
~inputs:[]
1354413544
~output:Literals.build_ninja
13545+
(*
13546+
FIXME: check if the trick still works
13547+
phony build.ninja : | resources
13548+
*)
1354513549

1354613550

1354713551
let output_ninja_and_namespace_map

0 commit comments

Comments
 (0)