Add "yarn clean" to JS bindings
Summary: The build is contained to `build` and `dist` folders we can just wipe. Reviewed By: huntie Differential Revision: D42285227 fbshipit-source-id: 18fa4a3e801415169e5b5b8cf212640199e627ba
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9fe1e77274
commit
2359ccde78
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
const {
|
const {
|
||||||
argv,
|
argv,
|
||||||
|
cleanTask,
|
||||||
copyTask,
|
copyTask,
|
||||||
eslintTask,
|
eslintTask,
|
||||||
logger,
|
logger,
|
||||||
@@ -27,6 +28,8 @@ const node = process.execPath;
|
|||||||
|
|
||||||
option("fix");
|
option("fix");
|
||||||
|
|
||||||
|
task("clean", cleanTask({paths: ['build', 'dist']}));
|
||||||
|
|
||||||
task(
|
task(
|
||||||
"prepare-for-build",
|
"prepare-for-build",
|
||||||
parallel(
|
parallel(
|
||||||
|
@@ -28,6 +28,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"benchmark": "just benchmark",
|
"benchmark": "just benchmark",
|
||||||
"build": "just build",
|
"build": "just build",
|
||||||
|
"clean": "just clean",
|
||||||
"lint": "just lint",
|
"lint": "just lint",
|
||||||
"lint:fix": "just lint --fix",
|
"lint:fix": "just lint --fix",
|
||||||
"test": "just test",
|
"test": "just test",
|
||||||
|
Reference in New Issue
Block a user