Could you explain how to make steal task work:
I have the following structure of folders:
- /app
- /app.js
- /build.html
- /build.js
- /build
- /steal
- /js.bat
- Gruntfile.js
to build app without grunt-steal on windows I use the following command from root folder:
- steal/js app/build.js
build.js:
- load('steal/rhino/rhino.js');
- steal('steal/build','steal/build/scripts', function() {
- steal.build('app/build.js', {
- to: 'build',
- compressor: 'uglify'
- });
- });
As described in https://github.com/alexisabril/grunt-steal
I created grunt task:
- steal: {
- js: 'steal',
- build: [{
- src: 'app/build.js',
- to: 'build'
- compressor: 'uglify'
- }]
- }
On task run (just a second):
- Running: js.bat composer/composer.js -to composer
- OK
- Done, without errors.
But no result can be found in build directory.