Commit Graph

31 Commits (8a5ba0dfc8bb1e02a0b8012181219c3fb383a831)

Author SHA1 Message Date
Delyan Angelov 8788512c4d
checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01) 2022-04-12 14:56:02 +03:00
Delyan Angelov fa6f7d4c83
os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
Delyan Angelov da0b89cc57
tools: improve support for renamed v executables (`vlang self` now works too) 2022-01-10 15:45:28 +02:00
Delyan Angelov 2b92ccecb5
ci: fix `v build-examples` and `v build-tools` 2021-08-28 12:44:03 +03:00
yuyi b95224aa20
vself: fix command line args (#11072) 2021-08-06 06:21:00 +03:00
Delyan Angelov 5098334e65
os: add execute_or_exit(cmd), use it consistently instead of execute_or_panic(cmd) 2021-07-20 15:22:04 +03:00
yuyi 4f6dde4ac2
vself: handle missing v_old (#9637) 2021-04-08 06:27:56 +02:00
Delyan Angelov 6814c975e5
vself, vup: update to use err.msg instead of err 2021-03-16 21:25:35 +02:00
Delyan Angelov d7049ae2da
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974) 2021-03-08 20:52:13 +02:00
spaceface b712af56fd
all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
spaceface d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
Delyan Angelov 102c54f620
tools: support for v self -debug, use os.mv_by_cp 2021-01-28 06:26:39 +02:00
Delyan Angelov 924fd2bf2a
tools: improve the diagnostic messages from `v up` and `v self` even more 2021-01-28 00:45:38 +02:00
Delyan Angelov 242d7d0fc0
tools: improve error diagnostic for `v up` and `v self`. Make `v self` more robust. 2021-01-27 23:58:13 +02:00
Delyan Angelov 17266ecb07
tools: support cmd/tools/.disable_autorecompilation in `v up` and `v self` too 2021-01-18 09:33:33 +02:00
yuyi c66ee8aa61
tools/vself: minor optimization (#7877) 2021-01-05 03:00:15 +01:00
Daniel Däschle 1c56ff7faf
parser: fix fibonacci in silent mode (#7240) 2020-12-10 18:17:25 +02:00
Delyan Angelov 3af700d950 vself: fix `v self` (it compiled to cmd/v/v without -o) 2020-10-16 15:06:32 +03:00
Delyan Angelov 23644d92a9 vself: allow for `./v -o x self` with no further renaming/deleting v itself (#6609) 2020-10-15 22:55:12 +03:00
Delyan Angelov 31ef921ef2 ci: fix warnings/errors due to the vfmt change 2020-10-15 16:17:52 +03:00
Delyan Angelov e23925f2be pref: add -show-timings option 2020-07-14 18:47:40 +03:00
Delyan Angelov 4b347ff148 v self: force the subprocess to show colors 2020-05-08 19:04:24 +03:00
yuyi b627bb933c
message: use uniform message reference format 2020-05-06 09:10:40 +03:00
Delyan Angelov b898970031 cmd/tools: use same line imports too 2020-04-26 09:32:05 +03:00
Enzo Baldisserri 288db055ec
vself: allow arbitrary arguments 2020-04-24 12:36:27 +02:00
Daniel Däschle 7cf9b32742
cmd: show cleaner messages, when v can not compile a tool, or update itself 2020-04-07 17:56:33 +03:00
Alexander Medvednikov 456750ac19 v2: array_test fixes 2020-03-25 14:24:48 +01:00
yuyi cff6f4abd6
vself: add -prod options 2020-03-16 15:46:38 +01:00
yuyi 783dee1f48
os: merge with filepath 2020-03-07 22:26:26 +01:00
Delyan Angelov 10e15e5de7
make and vself: cleanup make based on the new 'v self' 2020-02-28 16:04:22 +01:00
yuyi 8c43644301
tools: v self compiler 2020-02-28 13:02:56 +01:00