Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Included a js_of_ocaml version of superbol in the .vsix #93

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions .drom

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ linking_flags.sh linguist-generated
/dune-project linguist-generated
/sphinx/conf.py linguist-generated
/package.json linguist-generated
/**/version.mlt linguist-generated
emilienlemaire marked this conversation as resolved.
Show resolved Hide resolved
9 changes: 2 additions & 7 deletions src/lsp/cobol_cfg/version.mlt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@ let query cmd =
else None
with End_of_file -> None

let gitdir =
try Sys.getenv "DUNE_SOURCEROOT" with Not_found -> ""

let commit_hash =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%H")
let commit_date =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%ci")
let commit_hash = query "git show -s --pretty=format:%H"
let commit_date = query "git show -s --pretty=format:%ci"
let version = "0.1.5"

let string_option = function
Expand Down
9 changes: 2 additions & 7 deletions src/lsp/cobol_common/version.mlt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@ let query cmd =
else None
with End_of_file -> None

let gitdir =
try Sys.getenv "DUNE_SOURCEROOT" with Not_found -> ""

let commit_hash =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%H")
let commit_date =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%ci")
let commit_hash = query "git show -s --pretty=format:%H"
let commit_date = query "git show -s --pretty=format:%ci"
let version = "0.1.5"

let string_option = function
Expand Down
9 changes: 2 additions & 7 deletions src/lsp/cobol_config/version.mlt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@ let query cmd =
else None
with End_of_file -> None

let gitdir =
try Sys.getenv "DUNE_SOURCEROOT" with Not_found -> ""

let commit_hash =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%H")
let commit_date =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%ci")
let commit_hash = query "git show -s --pretty=format:%H"
let commit_date = query "git show -s --pretty=format:%ci"
let version = "0.1.5"

let string_option = function
Expand Down
9 changes: 2 additions & 7 deletions src/lsp/cobol_data/version.mlt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@ let query cmd =
else None
with End_of_file -> None

let gitdir =
try Sys.getenv "DUNE_SOURCEROOT" with Not_found -> ""

let commit_hash =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%H")
let commit_date =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%ci")
let commit_hash = query "git show -s --pretty=format:%H"
let commit_date = query "git show -s --pretty=format:%ci"
let version = "0.1.5"

let string_option = function
Expand Down
9 changes: 2 additions & 7 deletions src/lsp/cobol_indent/version.mlt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@ let query cmd =
else None
with End_of_file -> None

let gitdir =
try Sys.getenv "DUNE_SOURCEROOT" with Not_found -> ""

let commit_hash =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%H")
let commit_date =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%ci")
let commit_hash = query "git show -s --pretty=format:%H"
let commit_date = query "git show -s --pretty=format:%ci"
let version = "0.1.5"

let string_option = function
Expand Down
9 changes: 2 additions & 7 deletions src/lsp/cobol_indent_old/version.mlt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@ let query cmd =
else None
with End_of_file -> None

let gitdir =
try Sys.getenv "DUNE_SOURCEROOT" with Not_found -> ""

let commit_hash =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%H")
let commit_date =
query ("git -C \""^gitdir^"\" show -s --pretty=format:%ci")
let commit_hash = query "git show -s --pretty=format:%H"
let commit_date = query "git show -s --pretty=format:%ci"
let version = "0.1.5"

let string_option = function
Expand Down
Loading
Loading