Skip to content

Commit c7317f4

Browse files
committed
chore: add makefile docs
1 parent b81712b commit c7317f4

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Makefile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This is the Coder Makefile. The build directory for most tasks is `build/`.
2+
#
3+
# These are the targets you're probably looking for:
4+
# - clean
5+
# - build-fat: builds all "fat" binaries for all architectures
6+
# - build-slim: builds all "slim" binaries (no frontend or slim binaries
7+
# embedded) for all architectures
8+
# - build/coder(-slim)?_${os}_${arch}(.exe)?: build a single fat binary
9+
# - build/coder_${os}_${arch}.(zip|tar.gz): build a release archive
10+
# - build/coder_linux_${arch}.(apk|deb|rpm): build a release Linux package
11+
# - build/coder_${version}_linux_${arch}.tag: build a release Linux Docker image
12+
# - build/coder_helm.tgz: build a release Helm chart
13+
114
.DEFAULT_GOAL := build-fat
215

316
# Use a single bash shell for each job, and immediately exit on failure
@@ -208,7 +221,7 @@ $(CODER_ALL_ARCHIVES): $(CODER_FAT_BINARIES)
208221
# Supports apk, deb, rpm for all linux targets.
209222
#
210223
# This depends on all fat binaries because it's difficult to do dynamic
211-
# dependencies due to the .exe requirement on Windows. These targets are
224+
# dependencies due to the extensions in the filenames. These targets are
212225
# typically only used during release anyways.
213226
$(CODER_ALL_PACKAGES): $(CODER_FAT_BINARIES)
214227
$(get-mode-os-arch-ext)

0 commit comments

Comments
 (0)