Cleaning cache flag? #95
-
The following flag I usually go to Should not there be a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
First you don't need to clean the cache after updating the Nelua compiler, because the cache will be invalidated anyway if any pull change impacts the code. There is no flag to clean the cache folder, and I don't see much need for that at the moment. Also this is not so simple to do, there is no standard cross platform API to recursively remove directories, and is also dangerous to remove files recursively, this problem is out of the scope of the compiler. If you want to clean the cache indeed you have to remove the directory |
Beta Was this translation helpful? Give feedback.
First you don't need to clean the cache after updating the Nelua compiler, because the cache will be invalidated anyway if any pull change impacts the code.
There is no flag to clean the cache folder, and I don't see much need for that at the moment. Also this is not so simple to do, there is no standard cross platform API to recursively remove directories, and is also dangerous to remove files recursively, this problem is out of the scope of the compiler. If you want to clean the cache indeed you have to remove the directory
$HOME/.cache/nelua/
.