Skip to content

Commit

Permalink
Move setup script to script/ directory
Browse files Browse the repository at this point in the history
This prevents the `setup` script becoming available everywhere, like the
`mono` executable. Which could accidentally add directories to the
`$PATH` that people don't want to add to the `$PATH`.

```
cd mono

# Before
bin/setup
# And there after in any other directory
setup
# Mono installed again

# After
script/setup
# And there after in any other directory
setup
command not found: setup
```
  • Loading branch information
tombruijn committed May 19, 2021
1 parent 60e4058 commit 19add5b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changesets/move-setup-script-location.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: "patch"
---

Move setup script location to `script/setup`. Prevents the mono `setup` script
becoming available everywhere, like the `mono` executable. Which could
accidentally run the mono setup script outside of the mono project directory.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Multi language tool for managing single and mono repository packages.
## Installation

```
bin/setup
script/setup
```

## Usage
Expand Down
File renamed without changes.

0 comments on commit 19add5b

Please sign in to comment.