Igor Klopov
|
bffa650700
|
abi -> hostAbi to be symmetric with recent changes
|
2016-08-12 22:54:48 +03:00 |
|
Igor Klopov
|
2a1ac6cb39
|
platform -> hostPlatform because there will be targetPlatform
|
2016-08-12 22:52:54 +03:00 |
|
Igor Klopov
|
87c8b646eb
|
target -> targetArch because there will be targetPlatform
|
2016-08-12 22:48:37 +03:00 |
|
Igor Klopov
|
d57cd94f78
|
avoid var in favor of const and let
|
2016-08-12 22:42:58 +03:00 |
|
Igor Klopov
|
85690b012d
|
allocates a unique directory in /tmp for building purposes
|
2016-08-12 22:33:00 +03:00 |
|
Igor Klopov
|
28abf5fa75
|
bugfix
|
2016-08-12 20:07:31 +03:00 |
|
igorklopov
|
3da49f160a
|
abiToNodeRange
|
2016-08-12 16:07:57 +03:00 |
|
igorklopov
|
44318e2273
|
knownArchs of course
|
2016-08-12 15:43:01 +03:00 |
|
igorklopov
|
b909219c7d
|
index.js + test for system.js
|
2016-08-12 15:40:37 +03:00 |
|
igorklopov
|
0e8e6ecd86
|
export getFancyArch and getFancyPlatform
|
2016-08-12 15:27:04 +03:00 |
|
igorklopov
|
742f6fe3bb
|
use fancy platform names win and osx
|
2016-08-12 15:20:15 +03:00 |
|
igorklopov
|
10e71440b8
|
getKnownTargets
|
2016-08-12 15:11:11 +03:00 |
|
igorklopov
|
a48642e49a
|
clarified overlapping terms: arch, host, target
|
2016-08-12 15:07:25 +03:00 |
|
igorklopov
|
c2a458c544
|
test for build-and-upload
|
2016-08-12 14:22:32 +03:00 |
|
igorklopov
|
06115c0f1d
|
expose main to run it from tests
|
2016-08-12 13:50:03 +03:00 |
|
igorklopov
|
e9e94605ea
|
wrap copyFile to object to be able to mock it in tests
|
2016-08-12 13:24:37 +03:00 |
|
igorklopov
|
7c30b0e3b4
|
extract spawn to separate file to be able to mock it in tests
|
2016-08-12 11:32:26 +03:00 |
|
igorklopov
|
e86c97b4e1
|
lib dir will be a source of transpilation, so move all es7 there
|
2016-08-12 11:24:31 +03:00 |
|
igorklopov
|
387b576b93
|
fixed a typo
|
2016-08-11 18:28:53 +00:00 |
|
igorklopov
|
ed94d0f239
|
{ message: 'Bad credentials', ... }
|
2016-08-11 18:26:27 +00:00 |
|
igorklopov
|
4c3a6df890
|
switched from aws to github releases
|
2016-08-11 12:45:23 +03:00 |
|
igorklopov
|
977398cf0d
|
finished uploading via aws s3
|
2016-08-10 20:45:26 +03:00 |
|
igorklopov
|
22217fe36e
|
build fn is localPlace-agnostic and receives copyDest option
|
2016-08-10 16:14:21 +03:00 |
|
igorklopov
|
815822b667
|
moved binary templates to places.json + added aws-sdk
|
2016-08-10 15:58:27 +03:00 |
|
igorklopov
|
e4f39b1112
|
expands getTargets x64->x64,x86
|
2016-08-10 14:17:53 +03:00 |
|
igorklopov
|
1a74716c25
|
localPath -> localPlace
|
2016-08-10 14:13:59 +03:00 |
|
igorklopov
|
166171f304
|
erase temporary buildPath after compilation
|
2016-08-10 14:11:49 +03:00 |
|
igorklopov
|
6a7377c231
|
separate script file to build-and-upload
|
2016-08-10 14:11:03 +03:00 |
|
igorklopov
|
5ab131703c
|
async function build (nodeVersion, target)
|
2016-08-10 13:59:34 +03:00 |
|
igorklopov
|
38ac05233e
|
copies compiled binaries to ~/.pkg-cache
|
2016-08-10 13:27:28 +03:00 |
|
igorklopov
|
5a2ab2f401
|
returns the path of produced binary
|
2016-08-10 11:51:56 +03:00 |
|
igorklopov
|
d28fd16c4a
|
async function compileOnWindows, compileOnUnix
|
2016-08-10 11:47:39 +03:00 |
|
igorklopov
|
935385efdd
|
const nodePath = path.join(buildPath, 'node');
|
2016-08-10 11:19:26 +03:00 |
|
igorklopov
|
4dc897b3da
|
compiles on windows
|
2016-08-10 11:16:24 +03:00 |
|
igorklopov
|
df72d8473e
|
applies patches and compiles (for non-win yet)
|
2016-08-10 10:42:49 +03:00 |
|
igorklopov
|
253b06bc04
|
list of possible targets out of current host (x64,x86 out of x64)
|
2016-08-09 18:31:04 +03:00 |
|
igorklopov
|
8d5c61d3fc
|
cycle through available nodeVersions/patches
|
2016-08-09 18:24:47 +03:00 |
|
igorklopov
|
f1e6ae63c4
|
system.js, places.js, patches.json
|
2016-08-09 18:00:46 +03:00 |
|
igorklopov
|
00f10ab2e3
|
scripts.build - clones node and resets to version
|
2016-08-09 18:00:27 +03:00 |
|