File: dune

package info (click to toggle)
ppxlib 0.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,284 kB
  • sloc: ml: 17,184; sh: 149; makefile: 36; python: 36
file content (26 lines) | stat: -rw-r--r-- 648 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(library
 (name        ppxlib_ast)
 (public_name ppxlib.ast)
 (libraries
  ocaml-compiler-libs.shadow
  ocaml-compiler-libs.common
  compiler-libs.common
  ocaml-migrate-parsetree)
 (flags (:standard -open Ocaml_shadow -safe-string) -w -9-27-32)
 (modules
  ast
  import
  lexer_helper
  location_helper
  misc_helper
  pprintast
  ppxlib_ast
  warn)
 (lint (pps ppxlib_traverse -deriving-keep-w32=impl)))

;; This is to make the code compatible with different versions of
;; OCaml
(rule
 (targets location_helper.ml clflags_helper.ml misc_helper.ml)
 (deps    gen-compiler_specifics)
 (action  (run %{ocaml} %{deps} %{ocaml_version} %{targets})))