aboutsummaryrefslogtreecommitdiff
path: root/blog/dune
blob: fef8506c3eff81d8fc20a86cade45ce9f01c16b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(rule
  (targets hash_host.ml)
  (enabled_if (= %{profile} dev))
  (action (run cp hash_prod/hash_localhost.ml hash_host.ml)))

(rule
  (targets hash_host.ml)
  (enabled_if (<> %{profile} dev))
  (action (run cp hash_prod/hash_blog.ml hash_host.ml)))

(library
 (name blog)
 (libraries 
   brr
   brr.note
   elements
   )
 (preprocess (pps ppx_hash))

 
 )