I have lots of files in sub folders and I have to include them in an html file , i.e -
<script src="folder2/file1.js"></script>
for each file .
I'm looking for an easy way to run all the folders from a provided root folder and cause it to include to my index.html all the files .
i.e - for the folder with -
folder1>
file1.js
file2.js
folder2>
file1.js
it will be in the index.html -
<script src="folder1/file1.js"></script>
<script src="folder1/file2.js"></script>
<script src="folder2/file1.js"></script>
I don't want to concat them so please avoid from grunt concat suggestions .
Have you any smart idea ?