1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Delyan Angelov
f427a5241a
os,tools: add os.vtmp_dir()
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.

NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
Delyan Angelov
f922ed0941
tests: unify all temporary files/folders under $VTMP/v, that can be cleaned by v wipe-cache (#15774) 2022-09-16 04:56:19 +03:00
Delyan Angelov
afb7168a64
hash: move dummy map initialisation into an fn init(){}, so users do not have to do it explicitly to be compatible with -skip-unused 2021-07-30 13:25:37 +03:00
Delyan Angelov
ae05ab880e
ci: fix ubuntu-tcc job 2021-07-29 14:25:33 +03:00
Lukas Neubert
7664964c56
vfmt: format all of cmd/ and add it to v test-cleancode (#9418) 2021-03-24 23:37:10 +02:00
Delyan Angelov
e5a84719ca
all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +02:00
Delyan Angelov
8724749728
tools: implement v wipe-cache to ease cleaning up the cache on windows 2020-12-30 21:36:54 +02:00