(jbuild_version 1)

(executables
 ((names (main admin_main))
  (public_names (tezos-client tezos-admin))
  (libraries (tezos-base
              tezos-rpc-http
              tezos-client-base
              tezos-client-genesis
              tezos-client-alpha))
  (flags (:standard -w -9+27-30-32-40@8
                    -safe-string
                    -open Tezos_base__TzPervasives
                    -open Tezos_rpc_http
                    -open Tezos_client_base
                    -linkall))))

(install
 ((section bin)
  (files ((tezos-init-sandboxed-client.sh as tezos-init-sandboxed-client.sh)))))

(alias
 ((name runtest_indent)
  (deps ((glob_files *.ml*)))
  (action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${^}))))
