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 04e89a9 commit d5105f1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
15 changes: 0 additions & 15 deletions builder.sh

This file was deleted.

15 changes: 14 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
#!/bin/bash
bash <(curl -s https://raw.githubusercontent.com/bishal7679/ksapify/main/builder.sh)
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
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

cd ..
cd ..
sudo rm -fr ksapify


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

0 comments on commit d5105f1

Please sign in to comment.