-
Notifications
You must be signed in to change notification settings - Fork 881
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This fixes paths not resolving in macOS, causing the build target to fail. This also renames the site target to specify the index.html, which is the output artifact of building the site.
Codecov Report
@@ Coverage Diff @@
## main #1284 +/- ##
==========================================
- Coverage 66.20% 66.12% -0.09%
==========================================
Files 280 280
Lines 18389 18389
Branches 216 216
==========================================
- Hits 12174 12159 -15
- Misses 4956 4969 +13
- Partials 1259 1261 +2
Continue to review full report at Codecov.
|
@@ -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: $(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 | |||
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 comment
The 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 comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-merge bites me yet again
This fixes paths not resolving in macOS, causing the build target to fail. This also renames the site target to specify the index.html, which is the output artifact of building the site.
This fixes paths not resolving in macOS, causing
the build target to fail. This also renames the
site target to specify the index.html, which is
the output artifact of building the site.