Skip to content

Commit

Permalink
[build] straighten up a command line
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Oct 8, 2024
1 parent 4f0b66e commit c9cae81
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,7 @@ function cmd(program, args = []) {

if (!0) cmd("tsc", []);
if (!0) {
cmd("clang", [
"-DSTB_IMAGE_IMPLEMENTATION",
"-x", "c",
"-c",
"stb_image.h"
]).on('close', (data) => {
cmd("clang", ["-DSTB_IMAGE_IMPLEMENTATION", "-x", "c", "-c", "stb_image.h"]).on('close', (data) => {
if (data !== 0) return;
cmd("c3c", ["compile", "packer.c3", "common.c3", "stb_image.o"]).on('close', (data) => {
if (data !== 0) return;
Expand Down

0 comments on commit c9cae81

Please sign in to comment.