; Implementation of the 'semgrep' command-line in OCaml (a.k.a, osemgrep).
; This builds a library. The executable's entry point is defined in ../main
(library
  (public_name semgrep.osemgrep_cli)
  (name osemgrep_cli)
  (wrapped false)
  (libraries
    ; External libraries
    cmdliner
    ocolor
    commons
    cohttp-lwt-unix
    cohttp-eio

    ; Internal libraries
    osemgrep_cli_scan
    osemgrep_cli_ci
    osemgrep_cli_login
    osemgrep_cli_lsp
    osemgrep_cli_install
    osemgrep_cli_install_semgrep_pro
    osemgrep_cli_show
    osemgrep_cli_test
    osemgrep_configuring

    ; reusing code from Core_cli
    semgrep_core_cli

    networking.proxy
  )
 (preprocess
   (pps
     ppx_profiling
     ppx_deriving.show
     ppx_deriving.eq
     ppx_hash
   )
 )
)
