This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
(executables
|
||||
(names foo)
|
||||
(libraries dune-action-plugin))
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
open Dune_action_plugin.V1
|
||||
|
||||
let action =
|
||||
read_file ~path:(Path.of_string "some_source")
|
||||
|> stage ~f:(fun data -> write_file ~path:(Path.of_string "some_copy") ~data)
|
||||
;;
|
||||
|
||||
let () = run action
|
||||
Loading…
Add table
Add a link
Reference in a new issue