mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v: update the .gitattributes/.gitignore files generated by v init
(#16292)
This commit is contained in:
@ -33,15 +33,23 @@ fn init_and_check() ! {
|
||||
'*.so',
|
||||
'*.dylib',
|
||||
'*.dll',
|
||||
'vls.log',
|
||||
'',
|
||||
'# Ignore common editor/system specific metadata',
|
||||
'.DS_Store',
|
||||
'.idea/',
|
||||
'.vscode/',
|
||||
'*.iml',
|
||||
'',
|
||||
].join_lines()
|
||||
|
||||
assert os.read_file('.gitattributes')! == [
|
||||
'*.v linguist-language=V text=auto eol=lf',
|
||||
'*.vv linguist-language=V text=auto eol=lf',
|
||||
'*.vsh linguist-language=V text=auto eol=lf',
|
||||
'**/v.mod linguist-language=V text=auto eol=lf',
|
||||
'* text=auto eol=lf',
|
||||
'*.bat eol=crlf',
|
||||
'',
|
||||
'**/*.v linguist-language=V',
|
||||
'**/*.vv linguist-language=V',
|
||||
'**/*.vsh linguist-language=V',
|
||||
'**/v.mod linguist-language=V',
|
||||
'',
|
||||
].join_lines()
|
||||
|
||||
|
Reference in New Issue
Block a user