aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Divy Srivastava <dj.srivastava23@gmail.com> 2022-05-17 02:25:14 +0530
committerGravatar GitHub <noreply@github.com> 2022-05-16 13:55:14 -0700
commit2bd0dcfdfaf6c385e927570b0e102385dc8c3975 (patch)
treed43449fccfb6aa05b8b50e78e74f403783cc7dbd
parente75535d14c4c846eba557576ac9c53a21cdef308 (diff)
downloadbun-2bd0dcfdfaf6c385e927570b0e102385dc8c3975.tar.gz
bun-2bd0dcfdfaf6c385e927570b0e102385dc8c3975.tar.zst
bun-2bd0dcfdfaf6c385e927570b0e102385dc8c3975.zip
Add go and esbuild to build instructions (#169)
-rw-r--r--Makefile1
-rw-r--r--README.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f6cf8baec..fa4f68741 100644
--- a/Makefile
+++ b/Makefile
@@ -476,6 +476,7 @@ require:
@cmake --version >/dev/null 2>&1 || (echo -e "ERROR: cmake is required."; exit 1)
@esbuild --version >/dev/null 2>&1 || (echo -e "ERROR: esbuild is required."; exit 1)
@npm --version >/dev/null 2>&1 || (echo -e "ERROR: npm is required."; exit 1)
+ @go version >/dev/null 2>&1 || (echo -e "ERROR: go is required."; exit 1)
@which aclocal > /dev/null || (echo -e "ERROR: automake is required. Install with:\n\n $(POSIX_PKG_MANAGER) install automake"; exit 1)
@which $(LIBTOOL) > /dev/null || (echo -e "ERROR: libtool is required. Install with:\n\n $(POSIX_PKG_MANAGER) install libtool"; exit 1)
@which ninja > /dev/null || (echo -e "ERROR: Ninja is required. Install with:\n\n $(POSIX_PKG_MANAGER) install ninja"; exit 1)
diff --git a/README.md b/README.md
index 2b51dc7bd..c2c3752ff 100644
--- a/README.md
+++ b/README.md
@@ -2276,7 +2276,7 @@ It is very similar to my own development environment.
Install LLVM 13 and homebrew dependencies:
```bash
-brew install llvm@13 coreutils libtool cmake libiconv automake openssl@1.1 ninja gnu-sed pkg-config
+brew install llvm@13 coreutils libtool cmake libiconv automake openssl@1.1 ninja gnu-sed pkg-config esbuild go
```
bun (& the version of Zig) need LLVM 13 and Clang 13 (clang is part of LLVM). Weird build & runtime errors will happen otherwise.