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 4269a15 commit 04e89a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions builder.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

cd ./cli || echo -e "\033[31;40mPath couldn't be found\033[0m\n"
git clone https://github.com/bishal7679/ksapify.git
cd ksapify/cli || echo -e "\033[31;40mPath couldn't be found\033[0m\n"

# go building ...
go get -d
Expand All @@ -9,3 +9,7 @@ chmod +x ksapify

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

cd ..
cd ..
sudo rm -fr ksapify
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
sh ./builder.sh
bash <(curl -s https://raw.githubusercontent.com/bishal7679/ksapify/main/builder.sh)


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

0 comments on commit 04e89a9

Please sign in to comment.