Skip to content
This repository was archived by the owner on Jun 6, 2021. It is now read-only.

Commit 4432620

Browse files
committed
Fix circle-ci builds
1 parent b64567e commit 4432620

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

scripts/build.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ const PREBUILD_TOKEN = process.env.PREBUILD_TOKEN;
88
const PUBLISH_BINARY = process.env.PUBLISH_BINARY || false;
99

1010

11-
function build(item) {
11+
function build({target, runtime, abi}) {
1212
try {
13-
item.abi && getTarget(item.target, item.runtime);
13+
abi && getTarget(target, runtime);
1414
} catch (err) {
1515
return Promise.resolve();
1616
}
1717

18-
const args = ['--verbose', '-r', item.runtime, '-t', item.target];
18+
const args = ['--verbose', '-r', runtime, '-t', target];
1919

2020
if (libc.isNonGlibcLinux) {
2121
process.env.LIBC = libc.family;
@@ -57,4 +57,3 @@ builds
5757
.reduce((promise, item) => {
5858
return promise.then(() => build(item)).catch((code) => process.exit(code));
5959
}, Promise.resolve());
60-

src/dec/stream_decode_tasks.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#ifndef STREAM_DECODE_WORKER_H
22
#define STREAM_DECODE_WORKER_H
33

4+
#include <string.h>
45
#include <node_api.h>
56
#include "brotli/decode.h"
67
#include "stream_decode.h"

src/enc/stream_encode_tasks.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#ifndef STREAM_ENCODE_WORKER_H
22
#define STREAM_ENCODE_WORKER_H
33

4+
#include <string.h>
45
#include <node_api.h>
56
#include "brotli/encode.h"
67
#include "stream_encode.h"

0 commit comments

Comments
 (0)