Skip to content

Commit d3aca84

Browse files
committed
add .gitignore, add Makefile commands, add shebang to main script
1 parent c9cff50 commit d3aca84

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
__pycache__
2+
3+
.venv/
4+
dist/

Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
install:
2+
poetry install
3+
4+
build:
5+
poetry build
6+
7+
publish:
8+
poetry publish --dry-run
9+
10+
package-install:
11+
python -m pip install --user dist/*.whl
12+
13+
14+
brain-games:
15+
poetry run brain-games
0 Bytes
Binary file not shown.

brain_games/scripts/brain_games.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
def main():
24
print('Welcome to the Brain Games!')
35

0 commit comments

Comments
 (0)