Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shravanasati committed Jan 22, 2024
1 parent ea387dc commit 1082d2e
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ This section shows how you can setup your development environment to contribute
- Make changes.
- Stage and commit (`git add .` and `git commit -m "COMMIT MESSAGE"`).
- Push it your remote repository (`git push`).
- Open a pull request by clicking [here](https://github.com/Shravan-1908/hydra/compare).
- Open a pull request by clicking [here](https://github.com/shravanasati/hydra/compare).


## Reporting Issues
If you know a bug in the code or you want to file a feature request, open an issue.
Choose the correct issue template from [here](https://github.com/Shravan-1908/hydra/issues/new/choose).
Choose the correct issue template from [here](https://github.com/shravanasati/hydra/issues/new/choose).
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pkgrel=1
epoch=
pkgdesc="hydra is a command line utility for generating language-specific project structures."
arch=(x86_64 i686)
url="https://github.com/Shravan-1908/hydra.git"
url="https://github.com/shravanasati/hydra.git"
license=('MIT')
groups=()
depends=()
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# hydra

[![Continuous Integration](https://github.com/Shravan-1908/hydra/actions/workflows/integrate.yml/badge.svg)](https://github.com/Shravan-1908/hydra/actions/workflows/integrate.yml)
[![Continuous Integration](https://github.com/shravanasati/hydra/actions/workflows/integrate.yml/badge.svg)](https://github.com/shravanasati/hydra/actions/workflows/integrate.yml)

*hydra* is a command line utility for generating language-specific project structures.

Expand Down Expand Up @@ -37,7 +37,7 @@ Otherwise,
Execute the following command in bash:

```bash
curl https://raw.githubusercontent.com/Shravan-1908/hydra/main/linux_install.sh > hydra_install.sh
curl https://raw.githubusercontent.com/shravanasati/hydra/main/linux_install.sh > hydra_install.sh

chmod +x ./hydra_install.sh

Expand All @@ -50,7 +50,7 @@ bash ./hydra_install.sh
Execute the following command in bash:

```bash
curl https://raw.githubusercontent.com/Shravan-1908/hydra/main/macos_install.sh > hydra_install.sh
curl https://raw.githubusercontent.com/shravanasati/hydra/main/macos_install.sh > hydra_install.sh

chmod +x ./hydra_install.sh

Expand All @@ -61,7 +61,7 @@ bash ./hydra_install.sh

Open Powershell **as Admin** and execute the following command:
```powershell
Set-ExecutionPolicy Bypass -Scope Process -Force; (Invoke-WebRequest -Uri https://raw.githubusercontent.com/Shravan-1908/hydra/main/windows_install.ps1 -UseBasicParsing).Content | powershell -
Set-ExecutionPolicy Bypass -Scope Process -Force; (Invoke-WebRequest -Uri https://raw.githubusercontent.com/shravanasati/hydra/main/windows_install.ps1 -UseBasicParsing).Content | powershell -
```

To verify the installation of *hydra*, open a new shell and execute `hydra -v`. You should see output like this:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Shravan-1908/hydra
module github.com/shravanasati/hydra

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion hydra/config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
filemode = true
bare = true
[remote "origin"]
url = https://github.com/Shravan-1908/hydra.git
url = https://github.com/shravanasati/hydra.git
fetch = +refs/*:refs/*
mirror = true
2 changes: 1 addition & 1 deletion linux_install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

echo "Downloading hydra..."
curl -L "https://github.com/Shravan-1908/hydra/releases/latest/download/hydra-linux-amd64" -o hydra
curl -L "https://github.com/shravanasati/hydra/releases/latest/download/hydra-linux-amd64" -o hydra

echo "Adding hydra into PATH..."

Expand Down
2 changes: 1 addition & 1 deletion macos_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#!/bin/bash

echo "Downloading hydra..."
curl -L "https://github.com/Shravan-1908/hydra/releases/latest/download/hydra-darwin-amd64" -o hydra
curl -L "https://github.com/shravanasati/hydra/releases/latest/download/hydra-darwin-amd64" -o hydra

echo "Adding hydra into PATH..."

Expand Down
2 changes: 1 addition & 1 deletion src/hydra.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func main() {
commando.
SetExecutableName(NAME).
SetVersion(VERSION).
SetDescription("hydra is command line utility used to generate language-specific project structure. \nFor more detailed information and documentation, visit https://github.com/Shravan-1908/hydra . \n")
SetDescription("hydra is command line utility used to generate language-specific project structure. \nFor more detailed information and documentation, visit https://github.com/shravanasati/hydra . \n")

commando.
Register(nil).
Expand Down
2 changes: 1 addition & 1 deletion src/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func year() string {
// handleException handles the exception by printing it and exiting the program.
func handleException(err error) {
if err != nil {
fmt.Println("FATAL ERROR: Project initialisation failed! This should never happen. You may want to file an issue at the hydra repository: https://github.com/Shravan-1908/hydra/issues/new?assignees=&labels=&template=bug_report.md&title=")
fmt.Println("FATAL ERROR: Project initialisation failed! This should never happen. You may want to file an issue at the hydra repository: https://github.com/shravanasati/hydra/issues/new?assignees=&labels=&template=bug_report.md&title=")
fmt.Println(err)
os.Exit(-1)
}
Expand Down
6 changes: 3 additions & 3 deletions src/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ func update() {
url := ""
switch runtime.GOOS {
case "windows":
url = "https://github.com/Shravan-1908/hydra/releases/latest/download/hydra-windows-amd64.exe"
url = "https://github.com/shravanasati/hydra/releases/latest/download/hydra-windows-amd64.exe"
case "linux":
url = "https://github.com/Shravan-1908/hydra/releases/latest/download/hydra-linux-amd64"
url = "https://github.com/shravanasati/hydra/releases/latest/download/hydra-linux-amd64"
case "darwin":
url = "https://github.com/Shravan-1908/hydra/releases/latest/download/hydra-darwin-amd64"
url = "https://github.com/shravanasati/hydra/releases/latest/download/hydra-darwin-amd64"
default:
fmt.Println("Your OS isnt supported by hydra.")
return
Expand Down
2 changes: 1 addition & 1 deletion windows_install.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Write-Host "Downloading hydra..."

$url = "https://github.com/Shravan-1908/hydra/releases/latest/download/hydra-windows-amd64.exe"
$url = "https://github.com/shravanasati/hydra/releases/latest/download/hydra-windows-amd64.exe"

$dir = $env:USERPROFILE + "\.hydra"
$filepath = $env:USERPROFILE + "\.hydra\hydra.exe"
Expand Down

0 comments on commit 1082d2e

Please sign in to comment.