|
1 |
| -# Usea singlebash shell for each job, and immediately exit on failure |
| 1 | +# Use bash, and immediately exit on failure |
2 | 2 | SHELL := bash
|
3 | 3 | .SHELLFLAGS := -ceu
|
4 |
| -.ONESHELL: |
5 | 4 |
|
6 | 5 | # This doesn't work on directories.
|
7 | 6 | # See https://stackoverflow.com/questions/25752543/make-delete-on-error-for-directory-targets
|
8 | 7 | .DELETE_ON_ERROR:
|
9 | 8 |
|
10 |
| -# Don't print the commands in the file unless you specify VERBOSE. This is |
11 |
| -# # essentially the same as putting "@" at the start of each line. |
12 |
| -ifndefVERBOSE |
13 |
| -.SILENT: |
14 |
| -endif |
15 |
| - |
16 | 9 | ifdefCI
|
17 | 10 | LINTFLAGS := --reporter github-actions-logging
|
18 | 11 | FMTFLAGS := --lint --reporter github-actions-log
|
@@ -62,9 +55,7 @@ setup: \
|
62 | 55 |
|
63 | 56 | # Mutagen resources
|
64 | 57 | $(addprefix$(PROJECT)/Resources/,$(MUTAGEN_RESOURCES)):$(PROJECT)/Resources/.mutagenversion
|
65 |
| -url="https://storage.googleapis.com/coder-desktop/mutagen/$(MUTAGEN_VERSION)/$$(basename"$@")" |
66 |
| -echo"Downloading from$${url}" |
67 |
| -curl -sL$${url} -o"$@" |
| 58 | +curl -sL"https://storage.googleapis.com/coder-desktop/mutagen/$(MUTAGEN_VERSION)/$$(basename"$@")" -o"$@" |
68 | 59 | chmod +x"$@"
|
69 | 60 |
|
70 | 61 | $(XCPROJECT):$(PROJECT)/project.yml
|
|