Skip to content

Commit

Permalink
some project cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Dec 2, 2023
1 parent 6d4dee3 commit 2188422
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 10,200 deletions.
18 changes: 9 additions & 9 deletions Absytree.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -57,29 +57,29 @@ task buildDesktop, "Build the desktop version":
# selfExec fmt"c -o:ast{exe} -d:exposeScriptingApi --objChecks:off --fieldChecks:off --rangeChecks:off --boundChecks:off --overflowChecks:off --floatChecks:off --nanChecks:off --infChecks:off {getCommandLineParams()} ./src/absytree.nim"

task buildDesktopWindows, "Build the desktop version for windows":
selfExec fmt"c -o:ast.exe {crossCompileWinArgs} -d:exposeScriptingApi {getCommandLineParams()} ./src/absytree.nim"
selfExec fmt"c -o:ast{exe} {crossCompileWinArgs} -d:exposeScriptingApi {getCommandLineParams()} ./src/absytree.nim"

task buildWorkspaceServer, "Build the server for hosting workspaces":
selfExec fmt"c -o:workspace-server{exe} {getCommandLineParams()} ./src/servers/workspace_server.nim"
selfExec fmt"c -o:./tools/workspace-server{exe} {getCommandLineParams()} ./src/servers/workspace_server.nim"

task buildLanguagesServer, "Build the server for hosting languages servers":
selfExec fmt"c -o:languages-server{exe} {getCommandLineParams()} ./src/servers/languages_server.nim"
selfExec fmt"c -o:./tools/languages-server{exe} {getCommandLineParams()} ./src/servers/languages_server.nim"

task buildAbsytreeServer, "Build the server for hosting workspaces and language servers":
selfExec fmt"c -o:absytree-server{exe} {getCommandLineParams()} ./src/servers/absytree_server.nim"
selfExec fmt"c -o:./tools/absytree-server{exe} {getCommandLineParams()} ./src/servers/absytree_server.nim"

task buildAbsytreeServerWindows, "Build the server for hosting workspaces and language servers":
selfExec fmt"c -o:absytree-server.exe {crossCompileWinArgs} {getCommandLineParams()} ./src/servers/absytree_server.nim"
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:nimsuggest-ws{exe} {getCommandLineParams()} ./nimsuggest_ws.nim"
selfExec fmt"c -o:./tools/nimsuggest-ws{exe} {getCommandLineParams()} ./tools/nimsuggest_ws.nim"

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

task buildBrowser, "Build the browser version":
# selfExec fmt"js -o:ast.js -d:exposeScriptingApi -d:vmathObjBased -d:enableTableIdCacheChecking {getCommandLineParams()} ./src/absytree_js.nim"
selfExec fmt"js -o:ast.js -d:exposeScriptingApi -d:vmathObjBased -d:enableTableIdCacheChecking --objChecks:off --fieldChecks:off --rangeChecks:off --boundChecks:off --overflowChecks:off --floatChecks:off --nanChecks:off --infChecks:off --jsbigint64:off {getCommandLineParams()} ./src/absytree_js.nim"
# selfExec fmt"js -o:./build/ast.js -d:exposeScriptingApi -d:vmathObjBased -d:enableTableIdCacheChecking {getCommandLineParams()} ./src/absytree_js.nim"
selfExec fmt"js -o:./build/ast.js -d:exposeScriptingApi -d:vmathObjBased -d:enableTableIdCacheChecking --objChecks:off --fieldChecks:off --rangeChecks:off --boundChecks:off --overflowChecks:off --floatChecks:off --nanChecks:off --infChecks:off --jsbigint64:off {getCommandLineParams()} ./src/absytree_js.nim"

task buildNimConfigWasm, "Compile the nim script config file to wasm":
withDir "config":
Expand Down
Loading

0 comments on commit 2188422

Please sign in to comment.