<commit_before>checkout:
  post:
    - git submodule update --init resources/public/vendor/font-awesome

dependencies:
  cache_directories:
    - "~/.cache/bower"
  post:
    - node_modules/bower/bin/bower install || (sleep 2; node_modules/bower/bin/bower install)
    - "[[ -d resources/components ]] || node_modules/bower/bin/bower install"
    - case $CIRCLE_NODE_INDEX in 0) lein cljsbuild once test;; 1) lein cljsbuild once production;; esac |& tee cljsbuild.log:
        parallel: true
        timeout: 600
    - "! grep WARNING < cljsbuild.log"
    - rsync -avz --ignore-existing node1:./$CIRCLE_PROJECT_REPONAME/resources/public/cljs/production ./resources/public/cljs/: {parallel: true}
    - rsync -avz --ignore-existing node0:./$CIRCLE_PROJECT_REPONAME/resources/public/cljs/test ./resources/public/cljs/: {parallel: true}
    - lein run -m frontend.tasks.http/precompile-assets


test:
  pre:
    - git grep --color TODO | cat
  post:
    - node_modules/karma/bin/karma start karma.test.conf.js --single-run

deployment:
  deploy:
    branch: /.+/
    commands:
      - script/deploy.sh
<commit_msg>ignore the sablano string thing.<commit_after>checkout:
  post:
    - git submodule update --init resources/public/vendor/font-awesome

dependencies:
  cache_directories:
    - "~/.cache/bower"
  post:
    - node_modules/bower/bin/bower install || (sleep 2; node_modules/bower/bin/bower install)
    - "[[ -d resources/components ]] || node_modules/bower/bin/bower install"
    - case $CIRCLE_NODE_INDEX in 0) lein cljsbuild once test;; 1) lein cljsbuild once production;; esac |& tee cljsbuild.log:
        parallel: true
        timeout: 600
    # fail if there are any warnings in the cljsbuild output that *aren't* the sablano `string` thing.
    # See: https://github.com/r0man/sablono/issues/33
    - "! grep WARNING < cljsbuild.log | grep -v '/string'"
    - rsync -avz --ignore-existing node1:./$CIRCLE_PROJECT_REPONAME/resources/public/cljs/production ./resources/public/cljs/: {parallel: true}
    - rsync -avz --ignore-existing node0:./$CIRCLE_PROJECT_REPONAME/resources/public/cljs/test ./resources/public/cljs/: {parallel: true}
    - lein run -m frontend.tasks.http/precompile-assets


test:
  pre:
    - git grep --color TODO | cat
  post:
    - node_modules/karma/bin/karma start karma.test.conf.js --single-run

deployment:
  deploy:
    branch: /.+/
    commands:
      - script/deploy.sh

{'fraction_non_alphanumeric': 0.13027295285359802, 'fraction_numerical': 0.007857733664185277, 'mean_word_length': 3.0451505016722407, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6660958', 'n_tokens_mistral': 863, 'n_tokens_neox': 835, 'n_words': 183}