Last active
November 23, 2020 12:40
-
-
Save brackendev/6b3d3aac1452a834e97444bf4eb5ddeb to your computer and use it in GitHub Desktop.
[Shell] AngularDart pub clean
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
#!/bin/sh | |
# AngularDart pub clean | |
rm -rf "$HOME/.pub-cache" | |
rm -rf .dart_tool | |
rm -f .packages | |
rm -f .pub | |
rm -f pubspec.lock | |
git rm -f .packages | |
git rm -f .pub | |
pub cache repair | |
pub get | |
pub global activate webdev | |
pub run build_runner build --delete-conflicting-outputs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment