Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/node-red/node_modules/grunt-mkdir/ drwxr-xr-x | |
| Viewing file: Select action/file-type: module.exports = function(grunt) {
this.initConfig({
dir: 'tmp/f',
coffee: {
all: {
options: {
bare: true
},
expand: true,
cwd: 'src',
src: ['*.coffee'],
dest: 'tasks',
ext: '.js'
}
},
clean: {
all: ['tasks', 'tmp']
},
mkdir: {
noop: {},
simple: {
options: {
create: ['tmp']
}
},
multiple: {
options: {
create: ['tmp/a', 'tmp/b']
}
},
deep: {
options: {
create: ['tmp/c/d']
}
},
mode: {
options: {
mode: 0700,
create: ['tmp/e']
}
},
template: {
options: {
create: ['<%=dir%>']
}
}
},
watch: {
all: {
files: ['src/**.coffee', 'test/**.coffee'],
tasks: ['test']
}
},
mochacli: {
options: {
files: 'test/*_test.coffee',
compilers: ['coffee:coffee-script']
},
spec: {
options: {
reporter: 'spec'
}
}
},
release: {
options: {
additionalFiles: ['package-lock.json']
}
}
});
this.loadNpmTasks('grunt-contrib-clean');
this.loadNpmTasks('grunt-contrib-coffee');
this.loadNpmTasks('grunt-contrib-watch');
this.loadNpmTasks('grunt-mocha-cli');
this.loadNpmTasks('grunt-release');
this.loadTasks('tasks');
this.registerTask('default', ['test']);
this.registerTask('build', ['clean', 'coffee']);
return this.registerTask('test', ['build', 'mkdir', 'mochacli']);
};
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0242 ]-- |