thinkingrock-gtd / tr-pc

ThinkingRock for Personal Computers. Built on the Netbeans Platform.
https://trgtd.com.au
GNU General Public License v3.0
17 stars 13 forks source link

chore: [#120] just recipes to delete prod/dev caches #122

Closed ursjoss closed 1 year ago

ursjoss commented 1 year ago

Fixes #120

adds just recipes:

    clear-cache-dev      # Clears the cache of the local development version of ThinkingRock
    clear-cache-prod     # Clears the cache of production versions of ThinkingRock

Currently there are implementations for linux, Mac and Windows. On Windows we may have up iterate on it once we have deva working on that platform.

I applied the -I flag to the remove command, with the intention to prompt the user for confirmation before starting to delete, but only once. If we'd use the -i flag, it would prompt for every nested directory. On windows, we don't prompt.

~I am not sure if the mac version of rm supports this flag. @RadekCap please test and report here if it works.~ [Confirmed]

RadekCap commented 1 year ago

@ursjoss Do you think that we will wait for Windows implementation? I can test it but we don't test our work on Windows regularly so I would close this as solved. We can add Windows implementation when there will be some Windows developer around.

ursjoss commented 1 year ago

@RadekCap i started the implementation but did not have much time since. I will see if i can get it done in the next days...

ursjoss commented 1 year ago

@RadekCap I added a version that worked for me on Windows. But I wouldn't be suprprised if the windows version will need a few more iterations to make it bullet proof . But I agree, let's leave that for future Windows folks.