diff --git a/.gitignore b/.gitignore index ea8c4bf..cb151c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +**/.DS_Store \ No newline at end of file diff --git a/Makefile b/Makefile index 62d3d52..2b4bc19 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,21 @@ build: @cargo build -release: +clean: + @rm -rf target + +release: clean @cargo build --release update: release @sudo cp target/release/bp /usr/bin - @echo "Copied release file to /usr/bin" \ No newline at end of file + @echo "Copied release file to /usr/bin" + +test: + if [ -eq $(uname), Darwin ]; then + echo "macos" + fi + + if [ -eq $(uname), Linux ]; then + echo "linux" + fi \ No newline at end of file