tmscli 0.3.6__tar.gz → 0.3.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tmscli-0.3.8/PKG-INFO +17 -0
- tmscli-0.3.8/initialise.sh +3 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/pyproject.toml +2 -1
- tmscli-0.3.8/update.sh +34 -0
- tmscli-0.3.6/PKG-INFO +0 -4
- tmscli-0.3.6/update.sh +0 -29
- {tmscli-0.3.6 → tmscli-0.3.8}/README.md +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/.gitkeep +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/__init__.py +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/about.html +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/changelog.html +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/img/big.jpg +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/img/midgame.jpg +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/img/new_board.jpg +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/img/win.jpg +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/index.html +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/install.html +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/main.py +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/screenshots.html +0 -0
- {tmscli-0.3.6 → tmscli-0.3.8}/src/tmscli/style.css +0 -0
tmscli-0.3.8/PKG-INFO
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: tmscli
|
|
3
|
+
Version: 0.3.8
|
|
4
|
+
Summary: runs minesweeper in your terminal, type rules for how to play
|
|
5
|
+
Description-Content-Type: text/markdown
|
|
6
|
+
|
|
7
|
+
# minesweeper
|
|
8
|
+
## installation
|
|
9
|
+
```pip install tmscli```
|
|
10
|
+
## Running
|
|
11
|
+
```tms```
|
|
12
|
+
### For rules
|
|
13
|
+
```tms -r```
|
|
14
|
+
### For size
|
|
15
|
+
```tms -s SIZE```
|
|
16
|
+
### For number of mines
|
|
17
|
+
```tms -m NUM```
|
tmscli-0.3.8/update.sh
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# Exit immediately if any command fails
|
|
4
|
+
set -e
|
|
5
|
+
|
|
6
|
+
read commit
|
|
7
|
+
read pypi
|
|
8
|
+
if [ "$pypi"=="yes" ]; then
|
|
9
|
+
|
|
10
|
+
echo "Building the package with Hatch..."
|
|
11
|
+
hatch build
|
|
12
|
+
|
|
13
|
+
echo "Publishing the package to PyPI..."
|
|
14
|
+
hatch publish
|
|
15
|
+
|
|
16
|
+
fi
|
|
17
|
+
if [ "$commit"=="yes" ]; then
|
|
18
|
+
echo "Pulling latest changes from remote Git repository..."
|
|
19
|
+
git pull || echo "Pull skipped or failed, continuing..."
|
|
20
|
+
|
|
21
|
+
echo "Staging changes..."
|
|
22
|
+
git add .
|
|
23
|
+
|
|
24
|
+
echo "Committing changes..."
|
|
25
|
+
read reason
|
|
26
|
+
git commit -m "$reason"
|
|
27
|
+
|
|
28
|
+
echo "Pushing changes to remote..."
|
|
29
|
+
git push
|
|
30
|
+
fi
|
|
31
|
+
|
|
32
|
+
echo "Updating current installed module"
|
|
33
|
+
pip install --upgrade tmscli
|
|
34
|
+
echo "All steps completed successfully!"
|
tmscli-0.3.6/PKG-INFO
DELETED
tmscli-0.3.6/update.sh
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
# Exit immediately if any command fails
|
|
4
|
-
set -e
|
|
5
|
-
|
|
6
|
-
echo "Building the package with Hatch..."
|
|
7
|
-
hatch build
|
|
8
|
-
|
|
9
|
-
echo "Publishing the package to PyPI..."
|
|
10
|
-
hatch publish
|
|
11
|
-
|
|
12
|
-
echo "Pulling latest changes from remote Git repository..."
|
|
13
|
-
# Use || true so the script continues even if there is no tracking upstream configured yet
|
|
14
|
-
git pull || echo "Pull skipped or failed, continuing..."
|
|
15
|
-
|
|
16
|
-
echo "Staging changes..."
|
|
17
|
-
git add .
|
|
18
|
-
|
|
19
|
-
echo "Committing changes..."
|
|
20
|
-
read reason
|
|
21
|
-
git commit -m "$reason"
|
|
22
|
-
|
|
23
|
-
echo "Pushing changes to remote..."
|
|
24
|
-
git push
|
|
25
|
-
|
|
26
|
-
echo "Updating current installed module"
|
|
27
|
-
pip install --upgrade tmscli
|
|
28
|
-
|
|
29
|
-
echo "All steps completed successfully!"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|