Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

windows support #41

Merged
merged 1 commit into from
Apr 15, 2014
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 6 additions & 0 deletions run-server.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
IF NOT EXIST cabal.sandbox.config cabal sandbox init

cabal install --dependencies-only

cabal run %*
5 changes: 4 additions & 1 deletion src/lt/plugins/haskell.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
(.which shell "cabal")

(def plugin-dir (plugins/find-plugin "Haskell"))
(def binary-path (files/join plugin-dir "./run-server.sh"))
;platform hack, windows does not like bash nor the ./ prefix
(def binary-path (files/join plugin-dir
(if (= platform/platform :windows) "run-server.bat"
"./run-server.sh")))

;; **************************************
;; API searching
Expand Down