Skip to content
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

Allow typechecking and building docs to continue past build failures #596

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ check:

.PHONY: check-ts
check-ts:
bun install
npm install
bin/check-ts.sh

.PHONY: clean
Expand Down Expand Up @@ -107,8 +107,9 @@ check-fmt: fmt
# regenerate api docs served by docs-run from ts sources
.PHONY: docs
docs:
bun install && npm run build
cd www && bun install && npx docusaurus generate-typedoc
npm install
-npm run build
cd www && npm install && npx docusaurus generate-typedoc

# run the docs site locally at http://localhost:3000
.PHONY: docs-run
Expand Down
2 changes: 1 addition & 1 deletion bin/check-ts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ DIRS=$( jq --raw-output ".workspaces[]" package.json )

for dir in $DIRS
do
"$SCRIPT_DIR"/cd_sh "$dir" "npm run build --if-present && npm run lint --if-present"
"$SCRIPT_DIR"/cd_sh "$dir" "npm run build --if-present ; npm run lint --if-present"
done