This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,11 @@
open Dune_action_plugin.V1
let action =
let open Dune_action_plugin.V1.O in
let switch = read_file ~path:(Path.of_string "foo_or_bar") in
stage switch ~f:(fun file ->
let+ data = read_file ~path:(Path.of_string file) in
print_endline data)
;;
let () = run action

View file

@ -0,0 +1,3 @@
(executables
(names client)
(libraries dune-action-plugin))