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 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```
@@ -0,0 +1,3 @@
1
+ alias upgr='pip install --upgrade tmscli'
2
+ chmod +x ./only_pypi.sh
3
+
@@ -4,8 +4,9 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tmscli"
7
- version = "0.3.6"
7
+ version = "0.3.8"
8
8
  description = "runs minesweeper in your terminal, type rules for how to play"
9
+ readme="README.md"
9
10
  dependencies = []
10
11
 
11
12
  [project.scripts]
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
@@ -1,4 +0,0 @@
1
- Metadata-Version: 2.5
2
- Name: tmscli
3
- Version: 0.3.6
4
- Summary: runs minesweeper in your terminal, type rules for how to play
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