-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,023 changed files
with
35 additions
and
583,108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.