<commit_before>module.exports = function(grunt) {
  grunt.initConfig({
    concat: {
      options: {
        separator: ';'
      },
      production_js: {
        src: [
          'src/jquery/jquery.js',
          'src/bootstrap/javascript/tooltip.js',
          'src/bootstrap/javascript/popover.js',
          'src/bootstrap/javascript/alert.js',
          'src/bootstrap/javascript/affix.js',
          'src/bootstrap/javascript/button.js',
          'src/bootstrap/javascript/carousel.js',
          'src/bootstrap/javascript/collapse.js',
          'src/bootstrap/javascript/dropdown.js',
          'src/bootstrap/javascript/modal.js',
          'src/bootstrap/javascript/scrollspy.js',
          'src/bootstrap/javascript/tab.js',
          'src/bootstrap/javascript/transition.js',
          'src/syntax-highlighting/prism.js',
          'src/pivotal-ui/javascripts/*.js'
        ],
        dest: 'dist/pivotal-ui/pivotal-ui.js'
      }
    },
    compass: {
      dist: {
        options: {
          config: 'config/compass.rb',
          specify: ['src/pivotal-ui/pivotal-ui.scss', 'src/style_guide/style_guide.css.scss']
        }
      }
    },
    hologram: {
      generate: {
        options: {
          config: 'hologram_config.yml'
        }
      }
    },
    watch: {
      sass: {
        files: ['src/**/*.scss', 'src/**/*.js', 'doc_assets/**/*', 'src/style_guide/*.html'],
        tasks: ['default']
      },
      livereload: {
        options: { livereload: true },
        files: ['dist/**/*']
      }
    },
    clean: ["build", "dist"],
    copy: {
      main: {
        files: [
          {
            expand: true, src: ['src/style_guide/*.js', 'src/style_guide/github.css'],
            dest: 'dist/style_guide/', filter: 'isFile', flatten: true
          },
          {
            expand: true, src: ['src/syntax-highlighting/*'],
            dest: 'dist/syntax-highlighting/', filter: 'isFile', flatten: true
          },
          {
            expand: true, src: ['src/style_guide/*.html'],
            dest: 'dist/', filter: 'isFile', flatten: true
          }
        ]
      }
    }
  });


  grunt.loadNpmTasks('grunt-contrib-compass');
  grunt.loadNpmTasks('grunt-hologram');
  grunt.loadNpmTasks('grunt-contrib-concat');
  grunt.loadNpmTasks('grunt-contrib-clean');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-contrib-copy');

  grunt.registerTask('default', ['concat','compass','copy','hologram']);
};
<commit_msg>copy css to pws on save<commit_after>module.exports = function(grunt) {
  grunt.initConfig({
    concat: {
      options: {
        separator: ';'
      },
      production_js: {
        src: [
          'src/jquery/jquery.js',
          'src/bootstrap/javascript/tooltip.js',
          'src/bootstrap/javascript/popover.js',
          'src/bootstrap/javascript/alert.js',
          'src/bootstrap/javascript/affix.js',
          'src/bootstrap/javascript/button.js',
          'src/bootstrap/javascript/carousel.js',
          'src/bootstrap/javascript/collapse.js',
          'src/bootstrap/javascript/dropdown.js',
          'src/bootstrap/javascript/modal.js',
          'src/bootstrap/javascript/scrollspy.js',
          'src/bootstrap/javascript/tab.js',
          'src/bootstrap/javascript/transition.js',
          'src/syntax-highlighting/prism.js',
          'src/pivotal-ui/javascripts/*.js'
        ],
        dest: 'dist/pivotal-ui/pivotal-ui.js'
      }
    },
    compass: {
      dist: {
        options: {
          config: 'config/compass.rb',
          specify: ['src/pivotal-ui/pivotal-ui.scss', 'src/style_guide/style_guide.css.scss']
        }
      }
    },
    hologram: {
      generate: {
        options: {
          config: 'hologram_config.yml'
        }
      }
    },
    watch: {
      sass: {
        files: ['src/**/*.scss', 'src/**/*.js', 'doc_assets/**/*', 'src/style_guide/*.html'],
        tasks: ['default']
      },
      livereload: {
        options: { livereload: true },
        files: ['dist/**/*']
      }
    },
    clean: ["build", "dist"],
    copy: {
      main: {
        files: [
          {
            expand: true, src: ['src/style_guide/*.js', 'src/style_guide/github.css'],
            dest: 'dist/style_guide/', filter: 'isFile', flatten: true
          },
          {
            expand: true, src: ['src/syntax-highlighting/*'],
            dest: 'dist/syntax-highlighting/', filter: 'isFile', flatten: true
          },
          {
            expand: true, src: ['src/style_guide/*.html'],
            dest: 'dist/', filter: 'isFile', flatten: true
          }
        ]
      },
      to_pws: {
        files: [
          {
            expand: true, src: ['dist/pivotal-ui/pivotal-ui.css'],
            dest: '../pws-marketing-2/public/pivotal-ui', filter: 'isFile', flatten: true
          }
        ]
      }
    }
  });


  grunt.loadNpmTasks('grunt-contrib-compass');
  grunt.loadNpmTasks('grunt-hologram');
  grunt.loadNpmTasks('grunt-contrib-concat');
  grunt.loadNpmTasks('grunt-contrib-clean');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-contrib-copy');

  grunt.registerTask('default', ['concat','compass','copy:main','hologram', 'copy:to_pws']);
};

{'fraction_non_alphanumeric': 0.17248616676206832, 'fraction_numerical': 0.00019080328181644724, 'mean_word_length': 1.9154616240266964, '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': '47247', 'n_tokens_mistral': 1740, 'n_tokens_neox': 1699, 'n_words': 214}