Skip to content

Commit 1ccaa9e

Browse files
committed
bin: Remove obsolete bin/setup-local-env.sh
The script was retired ~7 years ago in #17004 when the project moved to the Core local environment (wp-env). Since then it only printed a notice telling users it had been retired. Nothing in the codebase references it, so the stub can be safely removed.
1 parent 133de8d commit 1ccaa9e

2 files changed

Lines changed: 31 additions & 8 deletions

File tree

PR_DESCRIPTION.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## What?
2+
3+
Removes the obsolete `bin/setup-local-env.sh` script.
4+
5+
## Why?
6+
7+
This script was retired roughly 7 years ago in [#17004](https://github.com/WordPress/gutenberg/pull/17004) ("Switch to using the Core local environment"), when the project moved to `wp-env` / the Core local environment. Since then its only content has been a notice telling users it has been retired and to run `npm run wp-env start` instead.
8+
9+
Nothing in the codebase references the script anymore (no `package.json` scripts, docs, or other tooling point to it), so the stub serves no purpose and can be safely removed.
10+
11+
## How?
12+
13+
Deletes `bin/setup-local-env.sh`. No other files reference it, so no further changes are needed.
14+
15+
## Testing Instructions
16+
17+
1. Confirm `bin/setup-local-env.sh` no longer exists.
18+
2. Run `git grep setup-local-env` and verify there are no remaining references.
19+
3. Verify the documented local-environment workflow is unaffected: `npm run wp-env start` still sets up a local environment as expected.
20+
21+
### Testing Instructions for Keyboard
22+
23+
N/A — no user interface changes.
24+
25+
## Screenshots or screencast
26+
27+
N/A
28+
29+
## Use of AI Tools
30+
31+
This pull request was authored with the assistance of Claude Code. All changes were reviewed by the author.

bin/setup-local-env.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)