Skip to content

Taskfile download button and improved how to start readme #17

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

Merged
merged 7 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Generate your own Taskfile at [taskfile.sh](https://taskfile.sh).
## How does it work?

Taskfiles are simple bash scripts, but an easy-to-read function format. There are some things that we need to explain
for our Taskfile setup.
for our Taskfile setup. It all starts with a `Taskfile`. Download your `Taskfile` from
[taskfile.sh](https://taskfile.sh) and save it. Make sure the Taskfile is executable: `chmod +x ./Taskfile`. You can now
run `./Taskfile` in your terminal.

### Tasks

Expand Down
7 changes: 0 additions & 7 deletions Taskfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ function banner {
# =========================================================

function task:init { ## Set up the project for local development
project:npm-config
project:git-config
task:update
task:help
Expand Down Expand Up @@ -52,12 +51,6 @@ function project:install-dependencies {
npm install
}

function project:npm-config {
title "Configuring NPM"
npm config --location=project set legacy-peer-deps=true \
&& echo -e "All ${GREEN}good${RESET}."
}

function project:git-config {
title "Setting git configuration"
git config --local core.hooksPath dev/git-hooks
Expand Down
Loading
Loading