未验证 提交 951dcbd3 编写于 作者: P Peter Pan 提交者: GitHub

Clean dist before build (#628)

* fix: remove gitHead from package.json

* fix: clean dist before build

* fix: clean dist before build

* build: disable frontend ci build temporarily
上级 af0ad122
...@@ -74,7 +74,7 @@ jobs: ...@@ -74,7 +74,7 @@ jobs:
- yarn clean - yarn clean
- yarn lint - yarn lint
- yarn test - yarn test
- yarn build # - yarn build
notifications: notifications:
email: email:
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
"scripts": { "scripts": {
"bootstrap": "lerna bootstrap", "bootstrap": "lerna bootstrap",
"build": "./scripts/build.sh", "build": "./scripts/build.sh",
"clean": "rimraf output */dist wasm/target", "clean": "rimraf output *.log packages/*/dist packages/core/out packages/wasm/target packages/*/*.log",
"lint": "eslint --ext .tsx,.jsx.ts,.js --ignore-path .gitignore .", "lint": "eslint --ext .tsx,.jsx.ts,.js --ignore-path .gitignore .",
"format": "prettier --write \"**/*.ts\" \"**/*.tsx\" \"**/*.js\"", "format": "prettier --write \"**/*.ts\" \"**/*.tsx\" \"**/*.js\"",
"test": "yarn workspaces run test", "test": "yarn workspaces run test",
......
...@@ -58,6 +58,5 @@ ...@@ -58,6 +58,5 @@
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
}, }
"gitHead": "ed915e4590c1527836cc802d7c6f5011a5b9a4a3"
} }
...@@ -95,6 +95,5 @@ ...@@ -95,6 +95,5 @@
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
}, }
"gitHead": "ed915e4590c1527836cc802d7c6f5011a5b9a4a3"
} }
...@@ -72,6 +72,5 @@ ...@@ -72,6 +72,5 @@
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
}, }
"gitHead": "ed915e4590c1527836cc802d7c6f5011a5b9a4a3"
} }
...@@ -55,6 +55,5 @@ ...@@ -55,6 +55,5 @@
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
}, }
"gitHead": "ed915e4590c1527836cc802d7c6f5011a5b9a4a3"
} }
...@@ -71,6 +71,5 @@ ...@@ -71,6 +71,5 @@
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
}, }
"gitHead": "ed915e4590c1527836cc802d7c6f5011a5b9a4a3"
} }
...@@ -50,6 +50,5 @@ ...@@ -50,6 +50,5 @@
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
}, }
"gitHead": "ed915e4590c1527836cc802d7c6f5011a5b9a4a3"
} }
...@@ -48,6 +48,5 @@ ...@@ -48,6 +48,5 @@
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
}, }
"gitHead": "ed915e4590c1527836cc802d7c6f5011a5b9a4a3"
} }
此差异已折叠。
...@@ -26,8 +26,6 @@ clean_env() { ...@@ -26,8 +26,6 @@ clean_env() {
rm -rf "$TOP_DIR/visualdl/server/dist" rm -rf "$TOP_DIR/visualdl/server/dist"
rm -rf "$BUILD_DIR/bdist*" rm -rf "$BUILD_DIR/bdist*"
rm -rf "$BUILD_DIR/lib*" rm -rf "$BUILD_DIR/lib*"
rm -rf "$BUILD_DIR/temp*"
rm -rf "$BUILD_DIR/scripts*"
rm -rf "$BUILD_DIR/package" rm -rf "$BUILD_DIR/package"
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册