Skip to content

Commit

Permalink
Remove composer git directory removal script. (#18339)
Browse files Browse the repository at this point in the history
  • Loading branch information
timcosgrove authored Jun 27, 2024
1 parent f4c9b55 commit 573ad4e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 32 deletions.
6 changes: 0 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@
"va:npm": "Run NPM transparently (all arguments will be passed).",
"va:nuke": "Remove all Composer package and cache directories.",
"va:phpcbf": "Run PHP Code Beautifier and Fixer transparently (all arguments will be passed).",
"va:remove-git-dirs": "Remove .git directories within this directory, e.g. those created by Composer.",
"va:set-path": "Display a command for updating the path to include `./bin`.",
"va:ds:drupal": "Build the Drupal theme.",
"va:ds:storybook": "Build the Storybook.",
Expand Down Expand Up @@ -657,11 +656,6 @@
"# Test the SOCKS proxy.",
"curl -v --proxy socks5h://127.0.0.1:2001 sentry.vetsgov-internal"
],
"va:remove-git-dirs": [
"# Remove .git directories within this directory, e.g. those created by Composer.",
"! ./scripts/should-run-directly.sh || ./scripts/remove-git-dirs.sh",
"./scripts/should-run-directly.sh || ddev composer va:remove-git-dirs --"
],
"va:set-path": [
"# Run the command output below to set your current terminal PATH variable.",
"# This will allow you to run any command in the ./bin directory without a path.",
Expand Down
2 changes: 0 additions & 2 deletions scripts/composer-post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ if [ -f "samlsessiondb.sq3" ]; then
git update-index --skip-worktree samlsessiondb.sq3
fi

composer va:remove-git-dirs

rm -r vendor

popd > /dev/null
2 changes: 0 additions & 2 deletions scripts/composer-post-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ pushd "${repo_root}" > /dev/null
cp -r ./hooks/git/* .git/hooks/
chmod 0777 ./.git/hooks/pre-commit

composer va:remove-git-dirs

rm -rf ./vendor

popd > /dev/null
22 changes: 0 additions & 22 deletions scripts/remove-git-dirs.sh

This file was deleted.

0 comments on commit 573ad4e

Please sign in to comment.