Skip to content

Commit 10e7726

Browse files
committed
change package name
1 parent f833a71 commit 10e7726

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

Cargo.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
[package]
2-
name = "ndate"
3-
version = "0.1.0"
2+
name = "nepdate-cli"
3+
version = "0.1.1"
44
edition = "2021"
5+
authors = ["Khumnath <[email protected]>"]
6+
7+
# Optional metadata
8+
description = "bikram sambat calendar library(nepalidate using bikram library)."
9+
license = "GPL-3.0"
10+
repository = "https://github.com/khumnath/nepdate-cli/tree/rust"
511

612
[dependencies]
713
chrono = "0.4"

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# ndate
1+
# nepdate-cli
22

3-
`ndate` is a simple command-line program built using the `bikram` library to convert dates between Bikram Sambat (Nepali calendar) and Gregorian dates.
3+
`nepdate-cli` is a simple command-line program built using the `bikram` library to convert dates between Bikram Sambat (Nepali calendar) and Gregorian dates.
44

55
## Features
66

@@ -19,8 +19,8 @@
1919
First, clone the repository:
2020

2121
```bash
22-
git clone --branch rust https://github.com/khumnath/ndate.git
23-
cd ndate
22+
git clone --branch rust https://github.com/khumnath/nepdate-cli.git
23+
cd nepdate-cli
2424
```
2525

2626
### Build the Program
@@ -49,29 +49,29 @@ After building the program, you can use it to convert dates between the two cale
4949
### Convert to Nepali Date (Bikram Sambat):
5050

5151
```
52-
./target/release/ndate --conv --tobs <year> <month> <day>
52+
./target/release/nepdate-cli --conv --tobs <year> <month> <day>
5353
```
5454
5555
Example:
5656
```
57-
./target/release/ndate --conv --tobs 2024 10 18
57+
./target/release/nepdate-cli --conv --tobs 2024 10 18
5858
```
5959
6060
### Convert to Gregorian Date:
6161
6262
```
63-
./target/release/ndate --conv --toad <year> <month> <day>
63+
./target/release/nepdate-cli --conv --toad <year> <month> <day>
6464
```
6565
6666
Example:
6767
```
68-
./target/release/ndate --conv --toad 2081 6 1
68+
./target/release/nepdate-cli --conv --toad 2081 6 1
6969
```
7070
7171
7272
### License
7373
74-
ndate is released under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html). See the LICENSE file for more details.
74+
nepdate-cli is released under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html). See the LICENSE file for more details.
7575
7676
### Contact
7777

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ if [ $? -ne 0 ]; then
77
exit 1 # Exit with a non-zero code to indicate failure
88
fi
99

10-
# Get the executable path (replace 'your_project_name' with your actual project name)
11-
executable_path="target/release/ndate"
10+
# Get the executable path
11+
executable_path="target/release/nepdate-cli"
1212

1313
# Display the path of the executable
14-
echo "ndate executable built at: $executable_path"
14+
echo "nepdate-cli executable built at: $executable_path"
1515
sleep 2
1616

1717
# Check if the executable exists and is runnable
1818
if [ -f "$executable_path" ]; then
1919
# Run the executable
20-
echo "Running ndate..."
20+
echo "Running nepdate-cli..."
2121
$executable_path
2222
else
2323
echo "Error: Executable not found at $executable_path"

0 commit comments

Comments
 (0)