<commit_before>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"

deployment:
  deploy:
    branch: /.+/
    commands:
      - lein cljsbuild once test production:
          timeout: 600
      - lein run -m frontend.tasks.http/precompile-assets
      - tar -cz resources/public/ | aws put --http $DEPLOY_S3_BUCKET/public_$CIRCLE_SHA1.tgz<commit_msg>store deployed sha1 in s3<commit_after>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"

deployment:
  deploy:
    branch: /.+/
    commands:
      - lein cljsbuild once test production:
          timeout: 600
      - lein run -m frontend.tasks.http/precompile-assets
      - tar -cz resources/public/ | aws put --http $DEPLOY_S3_BUCKET/dist/$CIRCLE_SHA1.tgz
      - echo $CIRCLE_SHA1 | aws put --http $DEPLOY_S3_BUCKET/branch/$CIRCLE_BRANCH
{'fraction_non_alphanumeric': 0.12297181895815543, 'fraction_numerical': 0.013663535439795047, 'mean_word_length': 2.867986798679868, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6733798', 'n_tokens_mistral': 431, 'n_tokens_neox': 413, 'n_words': 81}