Skip to content

Commit

Permalink
added script
Browse files Browse the repository at this point in the history
Signed-off-by: bishal7679 <bishalhnj127@gmail.com>
  • Loading branch information
bishal7679 committed May 13, 2023
1 parent 1206e14 commit 4269a15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 11 additions & 0 deletions builder.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

cd ./cli || echo -e "\033[31;40mPath couldn't be found\033[0m\n"

# go building ...
go get -d
go build -v -o ksapify .
chmod +x ksapify

# moving binary to local/bin to make it executable
sudo mv -v ksapify /usr/local/bin/ksapify
11 changes: 1 addition & 10 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
#!/bin/bash

cd ./cli || echo -e "\033[31;40mPath couldn't be found\033[0m\n"

# go building ...
go get -d
go build -v -o ksapify .
chmod +x ksapify

# moving binary to local/bin to make it executable
sudo mv -v ksapify /usr/local/bin/ksapify
sh ./builder.sh


echo -e "\033[32;40mINSTALLATION COMPLETED!\033[0m\n"
Expand Down

0 comments on commit 4269a15

Please sign in to comment.