Skip to content

Commit

Permalink
updated build tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Feb 11, 2024
1 parent ca03334 commit 4b64c29
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions absytree.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ requires "regex >= 0.20.2"
requires "glob#64f71af" # "glob >= 0.11.2" # the newest version of glob doesn't have a version but is required for Nim 2.0
requires "patty >= 0.3.5"
requires "nimclipboard >= 0.1.2"
# requires "results >= 0.4.0"
requires "https://github.com/Nimaoth/ws >= 0.5.0"
requires "https://github.com/Nimaoth/windy >= 0.0.2"
requires "https://github.com/Nimaoth/wasm3 >= 0.1.13"
Expand Down Expand Up @@ -72,11 +73,11 @@ task buildAbsytreeServer, "Build the server for hosting workspaces and language
task buildAbsytreeServerWindows, "Build the server for hosting workspaces and language servers":
selfExec fmt"c -o:./tools/absytree-server{exe} {crossCompileWinArgs} {getCommandLineParams()} ./src/servers/absytree_server.nim"

task buildNimsuggestWS, "Build the server for hosting workspaces and language servers":
selfExec fmt"c -o:./tools/nimsuggest-ws{exe} {getCommandLineParams()} ./tools/nimsuggest_ws.nim"
task buildLspWs, "Build the websocket proxy for language servers":
selfExec fmt"c -o:./tools/lsp-ws{exe} {getCommandLineParams()} ./tools/lsp_ws.nim"

task buildNimsuggestWSWindows, "Build the server for hosting workspaces and language servers":
selfExec fmt"c -o:./tools/nimsuggest-ws{exe} {crossCompileWinArgs} {getCommandLineParams()} ./tools/nimsuggest_ws.nim"
task buildLspWsWindows, "Build the websocket proxy for language servers":
selfExec fmt"c -o:./tools/lsp-ws{exe} {crossCompileWinArgs} {getCommandLineParams()} ./tools/lsp_ws.nim"

task buildBrowser, "Build the browser version":
selfExec fmt"js -o:./build/ast.js -d:exposeScriptingApi -d:vmathObjBased -d:enableTableIdCacheChecking {getCommandLineParams()} ./src/absytree_js.nim"
Expand Down

0 comments on commit 4b64c29

Please sign in to comment.