<commit_before>module.exports = (grunt) ->

  grunt.initConfig
    coffee:
      options:
        join: true
      files:
        'js/love.js': [
          'coffeescript/love.js/*.coffee',
          'coffeescript/love.js/audio/*.coffee',
          'coffeescript/love.js/graphics/*.coffee',
        ]
        'js/amore.js': [
          'coffeescript/amore.coffee'
        ]
    watch:
      coffeescript:
        files: ['coffeescript/**/*.coffee', 'coffeescript/*.coffee']
        tasks: ['coffee']
      moonshine:
        files: ['lua/*.lua']
        tasks: ['shell:distil']
    shell:
      distil:
        command: './node_modules/moonshine/bin/moonshine distil -d lua lua'
    connect:
      server:
        options:
          port: 8000
          base: '.'

  grunt.loadNpmTasks('grunt-contrib-coffee')
  grunt.loadNpmTasks('grunt-contrib-watch')
  grunt.loadNpmTasks('grunt-shell')
  grunt.loadNpmTasks('grunt-contrib-connect')

  grunt.registerTask 'default', ['connect:server', 'watch']<commit_msg>grunt doesn't like tasks that aren't really named<commit_after>module.exports = (grunt) ->

  grunt.initConfig
    coffee:
      app:
        options:
          join: true
        files:
          'js/love.js': [
            'coffeescript/love.js/*.coffee',
            'coffeescript/love.js/audio/*.coffee',
            'coffeescript/love.js/graphics/*.coffee',
          ]
          'js/amore.js': [
            'coffeescript/amore.coffee'
          ]
    watch:
      coffeescript:
        files: ['coffeescript/**/*.coffee', 'coffeescript/*.coffee']
        tasks: ['coffee:app']
      moonshine:
        files: ['lua/*.lua']
        tasks: ['shell:distil']
    shell:
      distil:
        command: './node_modules/moonshine/bin/moonshine distil -d lua lua'
    connect:
      server:
        options:
          port: 8000
          base: '.'

  grunt.loadNpmTasks('grunt-contrib-coffee')
  grunt.loadNpmTasks('grunt-contrib-watch')
  grunt.loadNpmTasks('grunt-shell')
  grunt.loadNpmTasks('grunt-contrib-connect')

  grunt.registerTask 'default', ['connect:server', 'watch']
{'fraction_non_alphanumeric': 0.15045519885002395, 'fraction_numerical': 0.003833253473885961, 'mean_word_length': 2.1025260029717683, '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': '4463710', 'n_tokens_mistral': 741, 'n_tokens_neox': 716, 'n_words': 103}