Skip to content
Snippets Groups Projects
Select Git revision
  • eedb96fa4003c6ee40cd1e2fa2d1232dd49eb179
  • main default protected
  • release/1.1
  • encrypt_comments
  • mnemonic_dewif
  • authors_rules
  • 0.14
  • rtd
  • 1.2.1 protected
  • 1.2.0 protected
  • 1.1.1 protected
  • 1.1.0 protected
  • 1.0.0 protected
  • 1.0.0rc1 protected
  • 1.0.0rc0 protected
  • 1.0.0-rc protected
  • 0.62.0 protected
  • 0.61.0 protected
  • 0.60.1 protected
  • 0.58.1 protected
  • 0.60.0 protected
  • 0.58.0 protected
  • 0.57.0 protected
  • 0.56.0 protected
  • 0.55.1 protected
  • 0.55.0 protected
  • 0.54.3 protected
  • 0.54.2 protected
28 results

revocation.py

Blame
  • postinstall.js 771 B
    #!/usr/bin/env node
    
    const fs = require('fs'),
    path = require('path');
    
    // Remove not used file (from old cordova-uglify plugin)
    try {
      fs.unlinkSync('hooks/uglify-config.json');
    } catch (e) {
      // Silent
    }
    
    
    // Replace /www/lib with a symbolic link to bower component libs
    try {
      fs.unlinkSync('www/lib');
    }
    catch(e ) {
      // Silent
    }
    try {
      fs.symlinkSync(path.resolve('node_modules/@bower_components'), 'www/lib', 'junction');
    } catch (e) {
      throw new Error(e);
    }
    
    // Remove some symbolic links, from the www/lib.
    // This is a workaround, because Cordova copy failed on this file
    try {
      fs.unlinkSync('www/lib/ionic-material/node_modules/.bin/gulp');
    }
    catch(e) {
      // Silent
    }
    try {
      fs.unlinkSync('www/lib/moment/meteor/moment.js');
    } catch (e) {
      // Silent
    }