[internal] Don't need to run jsc-bindings-headers in CI

This commit is contained in:
Jarred Sumner
2022-07-04 17:32:19 -07:00
parent 090a913660
commit 6190dc5da5
2 changed files with 1 additions and 12 deletions

View File

@@ -286,8 +286,7 @@ COPY Makefile ${BUN_DIR}/Makefile
WORKDIR $BUN_DIR
RUN cd $BUN_DIR && rm -rf $HOME/.cache zig-cache && make \
sqlite jsc-bindings-headers \
api \
sqlite api \
analytics \
bun_error \
fallback_decoder && rm -rf $HOME/.cache zig-cache && \

View File

@@ -2,16 +2,6 @@
var { readFileSync, writeFileSync } = require("fs");
var { join } = require("path");
if (!("replaceAll" in String.prototype)) {
String.prototype.replaceAll = function (search, replacement) {
var target = this;
return target.replace(
new RegExp(search.replace(/\*/gm, "\\*"), "g"),
replacement
);
};
}
const destination = join(__dirname, "../src/bun.js/bindings/headers.zig");
const replacements = join(
__dirname,