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

46 Commits

Author SHA1 Message Date
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Delyan Angelov
dcdfdf4dd8
tools: make v up more informative on failure 2022-04-30 10:11:02 +03:00
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
Alexander Medvednikov
36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +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
Steve Phillips
8a49a06201
v up: update os.chdir call to handle error (#11328) 2021-08-28 12:34:10 +03:00
Delyan Angelov
6134c4870b
v.util: extract v.util.version, use it to speed up building v repl, v up and v doctor 2021-07-27 12:59:56 +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
Delyan Angelov
6814c975e5
vself, vup: update to use err.msg instead of err 2021-03-16 21:25:35 +02:00
Delyan Angelov
a9358e4948
tools: fix panicing on a failing make in v up, or recompilation of vup.v 2021-03-08 23:58:07 +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
977a625a45
tools: support v -prod up 2021-02-23 10:05:59 +02:00
Major Taylor
dad68e00d5
vup: add a git installer for Windows, when git is not in path, or not installed at all (#8406) (#8421) 2021-01-30 12:53:57 +02:00
Delyan Angelov
a8f1824e51
vup: log potential backup errors, but do not stop 2021-01-28 00:48:47 +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
e5a84719ca
all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +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
spaceface
a47749b204
vup: hide some output when not in verbose mode (#7477) 2020-12-22 23:42:23 +01:00
JalonSolov
96b6a03d01
vup: minor change to final output string (#6948) 2020-11-25 20:41:03 +01:00
Delyan Angelov
60659f1407 vup: show the commit date of v too 2020-10-30 16:15:47 +02:00
Aqil Contractor
a984f9cf97
vup: add quotes for the people with weird V paths (#6393) 2020-09-17 02:00:56 +03:00
Cezary Drożak
26971da510
v up: correct an error message (#6327) 2020-09-08 00:41:47 +02:00
Delyan Angelov
02bece54a6 vup: use git pull https://github.com/vlang/v master for updating 2020-08-28 21:49:12 +03:00
Delyan Angelov
dde1b89c5e vup: remove empty new line on unix 2020-08-28 19:09:47 +03:00
Delyan Angelov
9b0ef781dc vup: add more diagnostic lines for v -v up 2020-08-25 19:54:27 +03:00
Delyan Angelov
b9e408c499 vup: use '$app.vexe self' 2020-08-25 19:42:10 +03:00
JalonSolov
45505a8423
vup: do v self then make.bat on Windows (#6219) 2020-08-25 19:12:53 +03:00
Delyan Angelov
b6dc2d9106 vup: support -v 2020-06-08 14:49:16 +03:00
Enzo Baldisserri
11b7b97311
parser: fail when assigning to _ with := 2020-06-08 00:47:04 +02:00
JalonSolov
8c8df66986
vup: make 'v up' work from release archive, without a .git folder 2020-06-07 23:59:15 +03:00
sudo-nice
104c278216
vup: replace hardcoded v with $vexe 2020-05-29 04:42:19 +02:00
Alexander Medvednikov
857276e81f vup: use v.exe 2020-05-18 15:49:26 +02:00
Delyan Angelov
3e4d99a0e3 vup: show the current V version after an update 2020-05-16 22:18:45 +03:00
Alexander Medvednikov
c92b09d3e7 vup: run make only on breaking changes 2020-05-13 15:15:37 +02: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
JalonSolov
bea918bb87
vup: add missing extension to make it work 2020-04-23 13:06:46 +03:00
JalonSolov
54c382f6f1
vup: fix unnecessary recompiles
fixes #4441
2020-04-22 20:54:39 +03:00
Immortalin
080f550625
v up: optimization 2020-04-14 03:32:32 +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
yuyi
783dee1f48
os: merge with filepath 2020-03-07 22:26:26 +01:00
yuyi
f267a88ddf
v up: simplify 2020-02-20 17:41:55 +01:00
lutherwenxu
9332a83ce6
move v.v to cmd/v 2020-02-09 10:08:04 +01:00