<commit_before>require 'erb'
require 'tilt'
require 'fileutils'
require 'ostruct'

namespace :build do

  task :del_assets_yml do
    del_file 'assets.yml'
  end

  task :del_dev_assets do
    Dir.glob("#{root}/build/dev/*.js").each { |f| del_file f }
  end

  desc "Build assets for development"
  task :dev_assets => [:del_assets_yml, :del_dev_assets] do
    write_assets_yml :dev
    system "jammit -o #{root}/build/dev"
  end

  desc "build CSS"
  task :dev_css do
    system "compass compile ."
  end<commit_msg>Fix bug where dev build doesn't get CSS<commit_after>require 'erb'
require 'tilt'
require 'fileutils'
require 'ostruct'

namespace :build do

  task :del_assets_yml do
    del_file 'assets.yml'
  end

  task :del_dev_assets do
    Dir.glob("#{root}/build/dev/*.js").each { |f| del_file f }
  end

  desc "Build assets for development"
  task :dev_assets => [:del_assets_yml, :del_dev_assets] do
    write_assets_yml :dev
    system "jammit -o #{root}/build/dev"
  end

  desc "build CSS"
  task :dev_css do
    del_file "#{root}/build/dev/*.css"
    system "compass compile ."
    system "cp #{root}/lib/dev/bootstrap.css #{root}/build/dev"
  end
{'fraction_non_alphanumeric': 0.12467755803955288, 'fraction_numerical': 0.0, 'mean_word_length': 3.5826771653543306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2680035', 'n_tokens_mistral': 434, 'n_tokens_neox': 414, 'n_words': 116}