Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added cygwin Support #8

Open
wants to merge 5 commits into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 24, 2011
  1. Added support for CYGWIN.

    Matt Hoyt authored
  2. Changed shell script to execute using bash so that id doesn't give an…

    Matt Hoyt authored
    … error under linux.
Commits on Oct 25, 2011
  1. Fixed errors in the windows handling of the script

    Matt Hoyt authored
  2. Removed echo statement.

    Matt Hoyt authored
Commits on Nov 7, 2011
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 2 deletions.
  1. +10 −2 cljs-watch
View
12 cljs-watch 100755 → 100644
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
CLJS_LIB=$CLOJURESCRIPT_HOME/lib/
CLJS_LIB_JARS=$CLOJURESCRIPT_HOME/lib/*
@@ -8,7 +8,15 @@ LOCAL_LIB_JARS=lib/*
LOCAL_LIB=lib/
LOCAL_MACROS=cljs-macros/
-exec java -server -cp "${CLJS_LIB}:${CLJS_LIB_JARS}:${CLJS_SRC}:${CLJS_CLJS}:${LOCAL_LIB}:${LOCAL_LIB_JARS}:${LOCAL_MACROS}" clojure.main -e \
+CLJSC_CP="${CLJS_LIB}:${CLJS_LIB_JARS}:${CLJS_SRC}:${CLJS_CLJS}:${LOCAL_LIB}:${LOCAL_LIB_JARS}:${LOCAL_MACROS}"
+
+if [[ `uname` == CYGWIN* ]]; then
+ CLJSC_CP=`cygpath --path --windows "${CLJSC_CP}"`
+fi
+
+echo "Classpath: ${CLJSC_CP}"
+
+exec java -server -cp $CLJSC_CP clojure.main -e \
"
(use '[clojure.java.io :only [file]])
(require '[cljs.closure :as cljsc])
Something went wrong with that request. Please try again.