angularjs - Is there a way to automatically generate karma.conf.js with a grunt task? -
I am using a modified version of gruntfile which comes with puberty. Base baseballs generator, and the command set on the grunt-edge is very easy to keep my base index.html file up-to-date with dog dependencies.
However, when I do a conveyor install (package) and then the cursive cursor-index, my index.html update, but my action. JS is not updated, which means that I need to manually add a new file to the list of files when the Karma runs the trial suite (otherwise the injector fails to inject a redundant package) .
Is there any easy way to add to my hard workflow? This is not the end of the world, but it is one of those things which easily forgets.
I really just came up with the solution to this problem. Check out
'bower-install': {app: {src: '& lt;% = yeoman.app% & gt; /index.html ', ignore path:' & lt;% = Yemen app% & gt; / '}, Exam: {src:' karma.conf.js', file type: {JS: {block: / (([\ s \ t] *) \ / \ / \ s * bower: * (\ S *)) (\ N | \ r ..) * (? \ / \ / \ * * Endbower) / gi, find out: {js: /'.**.js'/gi}, replace: {JS : '\' {{FilePath}} \ ','}}}}}
Comments
Post a Comment