summaryrefslogtreecommitdiff
path: root/devel/janet-lsp/files/janet-lsp.in
blob: 69eea77d05c383f0e511889c4bdf8b9e22bbff9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
@comment | This file is normally created by `jpm install`. The problem is that
@comment | it uses the path from --tree for janet and the full path to that tree
@comment | for the image. Both wrong.
@comment | See work/janet-lsp-*/jpm_tree/bin/janet-lsp for the version with the
@comment | wrong paths that this replaces. It is this small.
#!%%LOCALBASE%%/bin/janet
(import janet-lsp)
(put root-env :syspath "%%LOCALBASE%%/lib")

(defn main [& args]
  (janet-lsp/main ;args))