Skip to content

Commit

Permalink
build: clearing e2e for better caching
Browse files Browse the repository at this point in the history
  • Loading branch information
satanTime committed Jun 7, 2020
1 parent b9ba329 commit bab9321
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
"s:a9": "npm run s:a9f && npm run s:a9t",
"s:a9f": "P=e2e/angular9-ivy-false/node_modules/ng-mocks && rm -Rf $P && mkdir -p $P && cp -R dist $P && cp package.json $P",
"s:a9t": "P=e2e/angular9-ivy-true/node_modules/ng-mocks && rm -Rf $P && mkdir -p $P && cp -R dist $P && cp package.json $P",
"clear:a": "npm run clear:a5 && npm run clear:a6 && npm run clear:a7 && npm run clear:a8 && npm run clear:a9",
"clear:a5": "rm -Rf e2e/angular5/node_modules/ng-mocks",
"clear:a6": "rm -Rf e2e/angular6/node_modules/ng-mocks",
"clear:a7": "rm -Rf e2e/angular7/node_modules/ng-mocks",
"clear:a8": "rm -Rf e2e/angular8/node_modules/ng-mocks",
"clear:a9": "npm run clear:a9f && npm run clear:a9t",
"clear:a9f": "rm -Rf e2e/angular9-ivy-false/node_modules/ng-mocks",
"clear:a9t": "rm -Rf e2e/angular9-ivy-true/node_modules/ng-mocks",
"s:test:a": "npm run s:test:a5 && npm run s:test:a6 && npm run s:test:a7 && npm run s:test:a8 && npm run s:test:a9",
"s:test:a5": "P=e2e/angular5/src/test && rm -Rf $P && mkdir -p $P && cp -R tests $P && cp -R examples $P",
"s:test:a6": "P=e2e/angular6/src/test && rm -Rf $P && mkdir -p $P && cp -R tests $P && cp -R examples $P",
Expand All @@ -37,7 +45,7 @@
"s:test:a9": "npm run s:test:a9f && npm run s:test:a9t",
"s:test:a9f": "P=e2e/angular9-ivy-false/src/test && rm -Rf $P && mkdir -p $P && cp -R tests $P && cp -R examples $P",
"s:test:a9t": "P=e2e/angular9-ivy-true/src/test && rm -Rf $P && mkdir -p $P && cp -R tests $P && cp -R examples $P",
"e2e": "npm run build && npm run i:a && npm run s:a && npm run s:test:a && npm run test:a",
"e2e": "npm run build && npm run i:a && npm run s:a && npm run s:test:a && npm run test:a && npm run clear:a",
"clean": "rm -rf dist coverage",
"commit": "npx git-cz",
"lint": "tslint --project tsconfig.json",
Expand Down

0 comments on commit bab9321

Please sign in to comment.