- Notifications
You must be signed in to change notification settings - Fork928
fix: Prefix paths in find on macOS#1284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -4,7 +4,7 @@ INSTALL_DIR=$(shell go env GOPATH)/bin | ||
GOOS=$(shell go env GOOS) | ||
GOARCH=$(shell go env GOARCH) | ||
bin: $(shell find.-not -path './vendor/*' -type f -name '*.go') go.mod go.sum | ||
@echo "== This builds binaries for command-line usage." | ||
@echo "== Use \"make build\" to embed the site." | ||
goreleaser build --snapshot --rm-dist --single-target | ||
@@ -20,7 +20,7 @@ coderd/database/dump.sql: $(wildcard coderd/database/migrations/*.sql) | ||
coderd/database/querier.go: coderd/database/dump.sql $(wildcard coderd/database/queries/*.sql) | ||
coderd/database/generate.sh | ||
dist/artifacts.json: site/out/index.html $(shell find . -not -path './vendor/*' -type f -name '*.go') go.mod go.sum | ||
goreleaser release --snapshot --rm-dist --skip-sign | ||
fmt/prettier: | ||
@@ -76,7 +76,7 @@ provisionersdk/proto/provisioner.pb.go: provisionersdk/proto/provisioner.proto | ||
--go-drpc_opt=paths=source_relative \ | ||
./provisionersdk/proto/provisioner.proto | ||
site/out/index.html: $(shell find ./site -not -path './site/node_modules/*' -type f -name '*.tsx') $(shell find ./site -not -path './site/node_modules/*' -type f -name '*.ts') site/package.json | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Could do something like this to not have to duplicate it twice echo"*.tsx *.ts"| xargs -n1 find ./site -not -path'./site/node_modules/*' -type f -name There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Auto-merge bites me yet again | ||
./scripts/yarn_install.sh | ||
cd site && yarn typegen | ||
cd site && yarn build | ||