function copyLibs(){
    var libraryLocations = grunt.config( 'libraryLocations' );
    for( var libName in libraryLocations ){
      if( libraryLocations.hasOwnProperty( libName ) ){

        var BOWER_DIR = 'bower_components',
            location = libraryLocations[ libName ],
            source = [ BOWER_DIR, libName, location[0] ].join( '/' ),
            destination = 'galaxy/scripts/libs/' + location[1];
        grunt.log.writeln( source + ' -> ' + destination );
        grunt.file.copy( source, destination );
      }
    }
  }
/** copy external libraries from bower components to scripts/libs */
copy external libraries from bower components to scripts/libs
copy external libraries from bower components to scripts / libs
function copyLibs(){
    var libraryLocations = grunt.config( 'libraryLocations' );
    for( var libName in libraryLocations ){
      if( libraryLocations.hasOwnProperty( libName ) ){
        var BOWER_DIR = 'bower_components',
            location = libraryLocations[ libName ],
            source = [ BOWER_DIR, libName, location[0] ].join( '/' ),
            destination = 'galaxy/scripts/libs/' + location[1];
        grunt.log.writeln( source + ' -> ' + destination );
        grunt.file.copy( source, destination );
      }
    }
  }
function copyLibs ( ) { var libraryLocations = grunt . config ( 'libraryLocations' ) ; for ( var libName in libraryLocations ) { if ( libraryLocations . hasOwnProperty ( libName ) ) { var BOWER_DIR = 'bower_components' , location = libraryLocations [ libName ] , source = [ BOWER_DIR , libName , location [ 0 ] ] . join ( '/' ) , destination = 'galaxy/scripts/libs/' + location [ 1 ] ; grunt . log . writeln ( source + ' -> ' + destination ) ; grunt . file . copy ( source , destination ) ; } } }
copy external libraries from bower components to scripts/libs
copy external libraries from bower components to scripts / libs