<commit_before>#!/usr/bin/env boot

(set-env!
  :source-paths #{"src/docs" "src/main"}
  :resource-paths #{"resources" "src/main"}
  :dependencies '[; Boot setup
                  [adzerk/boot-cljs "1.7.48-6"]
                  [adzerk/boot-reload "0.4.1"]
                  ; [deraen/boot-less "0.4.2"]
                  [pandeiro/boot-http "0.7.0-SNAPSHOT"]

                  ; Library dependencies
                  [org.clojure/clojurescript "1.7.145"]
                  [org.omcljs/om "1.0.0-alpha14-SNAPSHOT"]

                  ; Development dependencies
                  [devcards "0.2.0-8"]
                  [garden "1.3.0-SNAPSHOT"]])

(task-options!
  pom {:project "om-mantras"
       :version "0.1.0-SNAPSHOT"})

(require '[adzerk.boot-cljs :refer [cljs]]
         '[adzerk.boot-reload :refer [reload]]
        ;  '[deraen.boot-less :refer [less]]
         '[pandeiro.boot-http :refer [serve]])

(deftask build-dev
  []
  (comp
    (cljs :source-map true
          :optimizations :none
          :pretty-print true
          :compiler-options {:devcards true})))

(deftask build-docs
  []
  (comp
    (cljs :optimizations :advanced
          :pretty-print false
          :compiler-options {:devcards true})))

(deftask dev
  []
  (comp
    (watch)
    (speak)
    (reload)
    (build-dev)
    (serve :dir "target")))

(deftask docs
  []
  (comp
    (build-docs)))
<commit_msg>Don't speak (in the "dev" task)<commit_after>#!/usr/bin/env boot

(set-env!
  :source-paths #{"src/docs" "src/main"}
  :resource-paths #{"resources" "src/main"}
  :dependencies '[; Boot setup
                  [adzerk/boot-cljs "1.7.48-6"]
                  [adzerk/boot-reload "0.4.1"]
                  ; [deraen/boot-less "0.4.2"]
                  [pandeiro/boot-http "0.7.0-SNAPSHOT"]

                  ; Library dependencies
                  [org.clojure/clojurescript "1.7.145"]
                  [org.omcljs/om "1.0.0-alpha14-SNAPSHOT"]

                  ; Development dependencies
                  [devcards "0.2.0-8"]
                  [garden "1.3.0-SNAPSHOT"]])

(task-options!
  pom {:project "om-mantras"
       :version "0.1.0-SNAPSHOT"})

(require '[adzerk.boot-cljs :refer [cljs]]
         '[adzerk.boot-reload :refer [reload]]
        ;  '[deraen.boot-less :refer [less]]
         '[pandeiro.boot-http :refer [serve]])

(deftask build-dev
  []
  (comp
    (cljs :source-map true
          :optimizations :none
          :pretty-print true
          :compiler-options {:devcards true})))

(deftask build-docs
  []
  (comp
    (cljs :optimizations :advanced
          :pretty-print false
          :compiler-options {:devcards true})))

(deftask dev
  []
  (comp
    (watch)
    (reload)
    (build-dev)
    (serve :dir "target")))

(deftask docs
  []
  (comp
    (build-docs)))

{'fraction_non_alphanumeric': 0.16224928366762179, 'fraction_numerical': 0.024355300859598854, 'mean_word_length': 1.835532994923858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2578528', 'n_tokens_mistral': 1044, 'n_tokens_neox': 1015, 'n_words': 182}