"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/npm/lib/install/action/build.js" (8 Mar 2017, 425 Bytes) of archive /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Javascript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 'use strict'
    2 var chain = require('slide').chain
    3 var build = require('../../build.js')
    4 var npm = require('../../npm.js')
    5 var packageId = require('../../utils/package-id.js')
    6 
    7 module.exports = function (top, buildpath, pkg, log, next) {
    8   log.silly('build', packageId(pkg))
    9   chain([
   10     [build.linkStuff, pkg.package, pkg.path, npm.config.get('global'), true],
   11     [build.writeBuiltinConf, pkg.package, pkg.path]
   12   ], next)
   13 }