Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clean target to make file #66

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marckhouzam
Copy link
Member

The installation of some tools has hard-code paths in them. For example:

$ head -1 .acceptance/.venv/bin/robot
#!/Users/marckhouzam/git/acceptance-testing/.acceptance/.venv/bin/python3.7

If I want to move the acceptance-testing repo to a new directory on my computer, the installed tools will no longer work due to these hard-coded paths. The simplest solution is to cleanup and re-install them.

This commit as a 'make clean' target to easily remove the entire .acceptance directory.

It is possible for a user to run make from outside of the
acceptance-testing directory.  For example

$ cd /tmp
$ make -f $GOPATH/src/helm.sh/acceptance-testing/Makefile

To support this, the Makefile must use the ROOT_DIR of where the
Makefile resides, so as to find all other files.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
The installation of some tools has hard-code paths in them.
For example:

  $ head -1 .acceptance/.venv/bin/robot
  #!/Users/marckhouzam/git/acceptance-testing/.acceptance/.venv/bin/python3.7

If I want to move the acceptance-testing repo to a new directory on
my computer, the installed tools will no longer work due to these
hard-coded paths.  The simplest solution is to cleanup and re-install
them.

This commit as a 'make clean' target to easily remove the entire
.acceptance directory.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants