igorklopov
|
a87ae3dc8a
|
make use of npmlog progress bar to indicate download progress
|
2016-08-15 18:23:41 +03:00 |
|
igorklopov
|
6cbf443841
|
github requests timeout
|
2016-08-15 17:48:18 +03:00 |
|
igorklopov
|
ae00c2f1df
|
trying to switch to npmlog cause it has levels and gauges oob 😋
|
2016-08-15 16:18:18 +03:00 |
|
igorklopov
|
586af11d9a
|
little more verbose than silence
|
2016-08-15 15:13:13 +03:00 |
|
igorklopov
|
649b0af51d
|
xcompilation warnings must be in pkg. here anything may be downloaded
|
2016-08-15 14:41:04 +03:00 |
|
igorklopov
|
a3892fa67b
|
minimalistic cli
|
2016-08-15 14:40:10 +03:00 |
|
igorklopov
|
ceec807feb
|
finally build from source if nothing was found
|
2016-08-15 13:52:36 +03:00 |
|
igorklopov
|
a2519284d0
|
download to temporary file first. then move to it's place
|
2016-08-15 13:49:51 +03:00 |
|
igorklopov
|
314ef35360
|
cloud.js to contain download and upload
|
2016-08-15 12:47:33 +03:00 |
|
igorklopov
|
6398d7509c
|
tolerate if no release or asset
|
2016-08-15 12:17:50 +03:00 |
|
igor
|
b6db0dd867
|
eslint -> klopov-eslint. it's like standard but more strict
|
2016-08-14 15:07:15 +03:00 |
|
igor
|
2177022de9
|
downloadAsset, download, dontTakeLocal, dontDownload, dontBuild
|
2016-08-14 12:56:29 +03:00 |
|
igor
|
6fa0ca2ace
|
if no username, then no auth. otherwise no auth mechanism defined
|
2016-08-14 09:22:34 +03:00 |
|
Igor Klopov
|
bdc943a57c
|
checks if local cache file is already present
|
2016-08-13 20:27:56 +03:00 |
|
Igor Klopov
|
3a3526a869
|
using single promisified fs source
|
2016-08-13 20:23:04 +03:00 |
|
Igor Klopov
|
8e8f9e6ae9
|
default values
|
2016-08-13 19:12:35 +03:00 |
|
Igor Klopov
|
be5494a575
|
error about crosscompilation + distilling nodeVersions
|
2016-08-13 19:09:23 +03:00 |
|
Igor Klopov
|
f958ae2129
|
any opt can be undefined, hence opts destructuring
|
2016-08-13 18:52:18 +03:00 |
|
Igor Klopov
|
77291975d5
|
there will be no upload without build. so just upload.js
|
2016-08-13 18:40:51 +03:00 |
|
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 |
|