-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(e2e): fix console building issue
- Loading branch information
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
install-yarn: | ||
npm install -g yarn | ||
.PHONY: * | ||
|
||
install-dev-tools: | ||
npm install -g yarn pnpm | ||
|
||
install-dependencies: | ||
yarn | ||
|
||
build-ui: | ||
yarn build | ||
|
||
ci-lint: | ||
yarn lint | ||
yarn typecheck | ||
|
||
rebuild-gradio: | ||
rm -rf gradio && git clone --depth 1 --branch=feat/sw-gradio-widget https://github.com/star-whale/gradio gradio | ||
pushd gradio/ui && \ | ||
cd gradio/ui && \ | ||
pnpm i && \ | ||
pnpm build && \ | ||
cd ../.. && \ | ||
rm -rf src/assets/GradioWidget && mkdir -p src/assets/GradioWidget && \ | ||
mv packages/starwhale/build src/assets/GradioWidget/es && popd | ||
mv gradio/ui/packages/starwhale/build src/assets/GradioWidget/es | ||
rm -rf gradio | ||
|
||
build-all: install-dependencies rebuild-gradio build-ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters