Commit 2ca4c91
authored
Improved copy command to replicate folder structures (#39)
### Developer Checklist (Definition of Done)
**Issue**
- [ ] All acceptance criteria from the issue are met
- [ ] Tested in latest Chrome/Firefox
**UI/UX/Vis**
- [ ] Requires UI/UX/Vis review
- [ ] Reviewer(s) are notified (_tag assignees_)
- [ ] Review has occurred (_link to notes_)
- [ ] Feedback is included in this PR
- [ ] Reviewer(s) approve of concept and design
**Code**
- [ ] Branch is up-to-date with the branch to be merged with, i.e.,
develop
- [ ] Code is cleaned up and formatted
- [ ] Unit tests are written (frontend/backend if applicable)
- [ ] Integration tests are written (if applicable)
**PR**
- [ ] Descriptive title for this pull request is provided (will be used
for release notes later)
- [ ] Reviewer and assignees are defined
- [ ] Add type label (e.g., *bug*, *feature*) to this pull request
- [ ] Add release label (e.g., `release: minor`) to this PR following
[semver](https://semver.org/)
- [ ] The PR is connected to the corresponding issue (via `Closes #...`)
- [ ] [Summary of changes](#summary-of-changes) is written
### Summary of changes
- Currently, the `cp` commands only copied either folders, or files
matching the pattern in the root folder (`src`). This PR updates this
with a node script to copy any files matching the pattern in any of the
subdirectories, replicates the folder structure exactly as is in the
`dist` folder.
### Screenshots
### Additional notes for the reviewer(s)
How to test: run `yarn run copy` and check if files are copied, if an
error occurs, report it here.
-
Thanks for creating this pull request 🤗1 file changed
+41
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
12 | 47 | | |
13 | 48 | | |
0 commit comments