Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
generate boilerplate with dune
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypopp committed Apr 3, 2024
1 parent ab9f243 commit 5908fdf
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 6 deletions.
14 changes: 14 additions & 0 deletions browser/dune
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,17 @@
(name ppx_deriving_json_browser_test)
(modules ppx_deriving_json_browser_test)
(libraries ppx_deriving_json.browser ppxlib))

(rule
(target ppx_deriving_json_browser.mli)
(action
(with-stdout-to
%{target}
(run echo ""))))

(rule
(target ppx_deriving_json_browser_test.ml)
(action
(with-stdout-to
%{target}
(run echo "let () = Ppxlib.Driver.standalone ()"))))
Empty file.
3 changes: 0 additions & 3 deletions browser/ppx_deriving_json_browser_test.ml

This file was deleted.

14 changes: 14 additions & 0 deletions native/dune
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,17 @@
(name ppx_deriving_json_native_test)
(modules ppx_deriving_json_native_test)
(libraries ppx_deriving_json.native ppxlib))

(rule
(target ppx_deriving_json_native.mli)
(action
(with-stdout-to
%{target}
(run echo ""))))

(rule
(target ppx_deriving_json_native_test.ml)
(action
(with-stdout-to
%{target}
(run echo "let () = Ppxlib.Driver.standalone ()"))))
Empty file.
3 changes: 0 additions & 3 deletions native/ppx_deriving_json_native_test.ml

This file was deleted.

0 comments on commit 5908fdf

Please sign in to comment.