Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Added cygwin Support #8

Open
wants to merge 5 commits into from

1 participant

Matt Hoyt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 10 additions and 2 deletions. Show diff stats Hide diff stats

  1. +10 2 cljs-watch
12 cljs-watch 100755 → 100644
... ... @@ -1,4 +1,4 @@
1   -#!/bin/sh
  1 +#!/bin/bash
2 2
3 3 CLJS_LIB=$CLOJURESCRIPT_HOME/lib/
4 4 CLJS_LIB_JARS=$CLOJURESCRIPT_HOME/lib/*
@@ -8,7 +8,15 @@ LOCAL_LIB_JARS=lib/*
8 8 LOCAL_LIB=lib/
9 9 LOCAL_MACROS=cljs-macros/
10 10
11   -exec java -server -cp "${CLJS_LIB}:${CLJS_LIB_JARS}:${CLJS_SRC}:${CLJS_CLJS}:${LOCAL_LIB}:${LOCAL_LIB_JARS}:${LOCAL_MACROS}" clojure.main -e \
  11 +CLJSC_CP="${CLJS_LIB}:${CLJS_LIB_JARS}:${CLJS_SRC}:${CLJS_CLJS}:${LOCAL_LIB}:${LOCAL_LIB_JARS}:${LOCAL_MACROS}"
  12 +
  13 +if [[ `uname` == CYGWIN* ]]; then
  14 + CLJSC_CP=`cygpath --path --windows "${CLJSC_CP}"`
  15 +fi
  16 +
  17 +echo "Classpath: ${CLJSC_CP}"
  18 +
  19 +exec java -server -cp $CLJSC_CP clojure.main -e \
12 20 "
13 21 (use '[clojure.java.io :only [file]])
14 22 (require '[cljs.closure :as cljsc])

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.