Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README and Taskfile.yml for easier new-dev setup #1117

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

rmunn
Copy link
Contributor

@rmunn rmunn commented Oct 11, 2024

Fixes #1074 by expanding on the setup instructions in the README.
Fixes #848 by running git submodule update --recursive in task setup.

If the user cloned the git repo without `--recurse-submodules`, then
running `task setup` will take care of the necessary step without
needing to add a note to the README file (which is visible when looking
at the repo on GitHub before cloning, but many people will clone the
repo first and THEN look at the README).
New devs might not know that they need to change the PowerShell
execution policy to allow scripts, and also might not be familiar with
how to set the PATH variable on Windows. So we'll add slightly more
detailed instructions to the README.
@rmunn rmunn requested a review from hahn-kev October 11, 2024 04:16
@rmunn rmunn self-assigned this Oct 11, 2024
@@ -34,6 +34,8 @@ tasks:
deps: [ setup-win, setup-unix ]
cmds:
- git config blame.ignoreRevsFile .git-blame-ignore-revs
- git submodule init
- git submodule update --recursive
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would be a valuable addition:

Suggested change
- git submodule update --recursive
- git submodule update --recursive
- git config --global submodule.recurse true

Copy link
Contributor

@myieye myieye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @rmunn 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants