#!/bin/bash
# Invoke with: ./tools/clean.sh

no_compile=$1

if [ -f .project ]; then
    cp .project .pydevproject /tmp
fi

git clean -fX

if [ -f .project ]; then
    cp /tmp/.project /tmp/.pydevproject .
fi

if [ "$no_compile" != "" ]; then
  cd sts/hassel/hassel-c
  make
fi


#!/bin/bash
# Invoke with: ./tools/clean.sh

if [ -f .project ]; then
    cp .project .pydevproject /tmp
fi

git clean -fX

if [ -f .project ]; then
    cp /tmp/.project /tmp/.pydevproject .
fi

cd sts/hassel/hassel-c
make


Revert "Add option to not compile". Realized that this isn't needed, since hassel is now a submodule
Revert "Add option to not compile". Realized that this isn't needed, since
hassel is now a submodule

This reverts commit 948483293c734eec8bd66978563aa1272f2b7b68.
