Commit 8ca97332f9199fc7faf0dc1e971a36bc032e9bd0
Fix typos
cel committed on 1/22/2020, 6:47:26 PMParent: 9720eadd244e4fbb44595c7884ee81c6f0e1617c
Files changed
build.js | changed |
build.js | |||
---|---|---|---|
@@ -22,11 +22,11 @@ | |||
22 | 22 … | ||
23 | 23 … | var prebuildsDir = 'node_modules/sodium-native/prebuilds/' + platform + '-' + arch | |
24 | 24 … | console.log('Copying binaries...') | |
25 | 25 … | var libSrc = 'libsodium.' + | |
26 | - (platform === 'darwin' ? 'dylib' : '.so.' + pkgJson.libsodiumVersion) | ||
26 … | + (platform === 'darwin' ? 'dylib' : 'so.' + pkgJson.libsodiumVersion) | ||
27 | 27 … | var libDest = 'dist/libsodium.' + (platform === 'darwin' ? 'dylib' : 'so') | |
28 | -cp(path.join(prebuildsDir, libSrc, libDest) | ||
28 … | +cp(path.join(prebuildsDir, libSrc), libDest) | ||
29 | 29 … | // pkg doesn't bundle files with .node extension | |
30 | 30 … | cp(path.join(prebuildsDir, 'node.abi' + abi + '.node'), | |
31 | 31 … | 'dist/sodium.node.bin') | |
32 | 32 … | cp('bin/git-remote-ssb', 'dist/') |
Built with git-ssb-web