commit faf9515d57e71a5a99d60e8ddb3df5881ab9fb4f parent c2f42f09089468df8d22c0f9d91fa42c45c47deb Author: ByteProject <ByteProject@users.noreply.github.com> Date: Sat, 22 Apr 2017 13:22:24 +0200 add proj cleanup script for Atom build support Diffstat:
A | cleanup.sh | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/cleanup.sh b/cleanup.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# +# cleanup.h for AnsiLove/C +# +# This script cleans the AnsiLove/C project directory. It will delete all +# CMake and Make generated files, as well as compiled AnsiLove/C binaries. +# Use on *NIX systems only, tested on Linux Mint. +# +rm -Rf CMakeFiles +rm cmake_install.cmake +rm CMakeCache.txt +rm Makefile +echo "Make/CMake files cleaned successfully." +if [ ! -f ansilove ]; then + echo "AnsiLove/C binary not existing and bypassed." +else + rm ansilove + echo "AnsiLove/C binary cleaned successfully." +fi