25 lines
673 B
OCaml
25 lines
673 B
OCaml
|
open Yocaml
|
||
|
module Metaformat = Yocaml_yaml
|
||
|
module Markup = Yocaml_markdown
|
||
|
module Template = Yocaml_jingoo
|
||
|
|
||
|
let css_target target = "css" |> into target
|
||
|
let images_target target = "images" |> into target
|
||
|
let index_html target = "index.html" |> into target
|
||
|
let about_us_html target = "about_us.html" |> into target
|
||
|
let our_work_html target = "our_work.html" |> into target
|
||
|
let donate_html target = "donate.html" |> into target
|
||
|
|
||
|
let move_css target =
|
||
|
process_files
|
||
|
[ "css" ]
|
||
|
File.is_css
|
||
|
(Build.copy_file ~into:(css_target target))
|
||
|
|
||
|
let move_images target =
|
||
|
process_files
|
||
|
[ "images" ]
|
||
|
File.is_image
|
||
|
(Build.copy_file ~into:(images_target target))
|
||
|
|