jwvdiermen / grunt-include-source

Include lists of files into your source files automatically.
MIT License
68 stars 31 forks source link

Fails to include all files in <%= myFileList.js %> #47

Closed kevinneufeld closed 8 years ago

kevinneufeld commented 8 years ago

I am not getting all my files that are in the list. basic settings:

includeSource:{
  options:{},
  app: {
    files: {'src/test.html':'src/test.html'}
  }
}

myFileList: {
 js: [
            'vendor/jquery/jquery.js',
            'vendor/angular/angular.js',
            'vendor/angular-animate/angular-animate.js',
            'vendor/v-accordion/v-accordion.js',
            'vendor/angular-growing-input/angular-grow.js',
            'vendor/angular-cookies/angular-cookies.js',
            'vendor/angular-ui-router/angular-ui-router.js',
            'vendor/angularjs-datepicker/angular-datepicker.min.js',
            'vendor/ng-csv/ng-csv.js',
            'vendor/bootstrap/bootstrap.min.js',
            'vendor/d3/d3.js',
            'vendor_override/kendo-ui/kendo.all.min.js',
            'vendor/moment/moment-with-locales.js',
            'vendor/moment-timezone/moment-timezone-with-data.min.js',
            'vendor/breeze-client/breeze.debug.js',
            'vendor/breeze-client/breeze.min.js',
            'vendor/breeze-client-labs/breeze.savequeuing.js',
            'vendor/breeze-client/breeze.bridge.angular.js',
            'vendor/breeze-client/breeze.ajax.angular.js',
            'vendor_override/breeze-client-labs/breeze.directives.js'
        ] 
}

test.html:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <!-- include: "type": "js", "files": "<%= myFileList.js %>" -->
    <!-- /include -->
</head>
<body>
</body>
</html>

rendered:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <!-- include: "type": "js", "files": "<%= vendor_files.js %>" -->
    <script src="vendor/angular/angular.js"></script>
    <script src="vendor/angular-animate/angular-animate.js"></script>
    <script src="vendor/angular-growing-input/angular-grow.js"></script>
    <script src="vendor/angular-cookies/angular-cookies.js"></script>
    <script src="vendor/d3/d3.js"></script>
    <script src="vendor/breeze-client/breeze.debug.js"></script>
    <script src="vendor/breeze-client-labs/breeze.savequeuing.js"></script>
    <!-- /include -->
</head>
<body>
</body>
</html>

missing a number of file. What am I missing?

kevinneufeld commented 8 years ago

never mind. options needed basePath set.