Skip to content

Commit

Permalink
remove commited libs
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Mar 7, 2015
1 parent cc63f8d commit ddcdf58
Show file tree
Hide file tree
Showing 2,023 changed files with 35 additions and 583,108 deletions.
28 changes: 28 additions & 0 deletions hooks/after_prepare/025_remove_non_dist_from_platforms.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/usr/bin/env node

/**
* After prepare, files are copied to the platforms/ios and platforms/android folders.
* Lets clean up some of those files that arent needed with this hook.
*/
var fs = require('fs');
var path = require('path');

var deleteFolderRecursive = function(removePath) {
if( fs.existsSync(removePath) ) {
fs.readdirSync(removePath).forEach(function(file,index){
var curPath = path.join(removePath, file);
if(fs.lstatSync(curPath).isDirectory()) { // recurse
deleteFolderRecursive(curPath);
} else { // delete file
fs.unlinkSync(curPath);
}
});
fs.rmdirSync(removePath);
}
};

var iosPlatformsDir = path.resolve(__dirname, '../../platforms/ios/www/lib/ionic/scss');
var androidPlatformsDir = path.resolve(__dirname, '../../platforms/android/assets/www/lib/ionic/scss');

deleteFolderRecursive(iosPlatformsDir);
deleteFolderRecursive(androidPlatformsDir);
7 changes: 7 additions & 0 deletions hooks/before_prepare/15_run_gulp_build_tasks.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var gulp = require('gulp');
var path = require('path');

require(path.resolve(__dirname, '../../gulpfile.js'));

console.log('Building project');
gulp.start('build');
2 changes: 0 additions & 2 deletions www/dist/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions www/fonts/.gitignore

This file was deleted.

35 changes: 0 additions & 35 deletions www/lib/Faker/.bower.json

This file was deleted.

47 changes: 0 additions & 47 deletions www/lib/Faker/CHANGELOG.md

This file was deleted.

28 changes: 0 additions & 28 deletions www/lib/Faker/MIT-LICENSE.txt

This file was deleted.

26 changes: 0 additions & 26 deletions www/lib/Faker/Makefile

This file was deleted.

85 changes: 0 additions & 85 deletions www/lib/Faker/Readme.md

This file was deleted.

25 changes: 0 additions & 25 deletions www/lib/Faker/bower.json

This file was deleted.

Loading

0 comments on commit ddcdf58

Please sign in to comment.