To add to your existing repo:
npm install helixbass/copheescript --save-dev
Config that we have to compile copheescript files
grunt.initConfig
cophee:
classes:
files: [
expand: yes
cwd: '<%= paths.controller %>'
src: [ '{,**/}*.php.cophee' ]
dest: '<%= paths.controller %>'
ext: '.php'
]
grunt.initConfig( {
cophee: {
classes: {
files: [ {
expand: true,
cwd: '<%= paths.controller %>',
src: [ '{,**/}*.php.cophee' ],
dest: '<%= paths.controller %>',
ext: '.php',
}]
}
}
});
Path that cophee should look in to
grunt.initConfig
paths:
controller: 'application/classes/'
grunt.initConfig({
paths: {
controller: 'application/classes/'
}
});
Compile all cophee script assets:
grunt cophee