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

Rewrite README instructions to use pipx #84

Merged
merged 5 commits into from
Dec 1, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Use git-init target as a dependency of setup and remove from install
pkalita-lbl committed Dec 1, 2023

Verified

This commit was signed with the committer’s verified signature. The key has expired.
amondnet Minsu Lee
commit 6a1e917b19c15396c02107544cafd261da69d5b6
8 changes: 3 additions & 5 deletions {{cookiecutter.project_name}}/Makefile
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ endif


# basename of a YAML file in model/
.PHONY: all clean
.PHONY: all clean setup gen-project gen-examples gendoc git-init-add git-init git-add git-commit git-status

# note: "help" MUST be the first target in the file,
# when the user types "make" they should get help info
@@ -58,11 +58,10 @@ status: check-config
@echo "Source: $(SOURCE_SCHEMA_PATH)"

# generate products and add everything to github
setup: install gen-project gen-examples gendoc git-init-add
setup: git-init install gen-project gen-examples gendoc git-add git-commit
Copy link
Member

Choose a reason for hiding this comment

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

thank you!


# install any dependencies required for building
install:
git init
poetry install
.PHONY: install

@@ -172,8 +171,7 @@ git-init-add: git-init git-add git-commit git-status
git-init:
git init
git-add: .cruft.json
git add .gitignore .github .cruft.json Makefile LICENSE *.md examples utils about.yaml mkdocs.yml poetry.lock project.Makefile pyproject.toml src/{{cookiecutter.__project_slug}}/schema/*yaml src/*/datamodel/*py src/data src/docs tests src/*/_version.py
git add $(patsubst %, project/%, $(PROJECT_FOLDERS))
git add .
git-commit:
git commit -m 'chore: initial commit' -a
git-status: