Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to write volofile to perform jshint for all files inside a folder then uglify each and every file to <name>.min.js #175

Open
SuganyaPL opened this issue Nov 4, 2013 · 0 comments

Comments

@SuganyaPL
Copy link

My folder structure is /com/h/portal/js.
Inside js folder there are 4 folders.Say a,b,c,d
Inside each folder there are set of js files.

i'm able to minify all js files and write into separate folder with the below command
build: {
run: function (d, v, namedArgs) {
//Remove the old dir
v.rm('www-built');
d.resolve(v.spawn('node', ['tools/r.js', '-o', 'tools/build.js'], {
useConsole: namedArgs
}));

    }
}

But i want to run jshint on all files before minifying. how to do that ?

Also is there any way to minify css files using volo ?

Please help me.

@SuganyaPL SuganyaPL reopened this Nov 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant