Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move to leiningen.

  • Loading branch information...
commit 2b43e1d39be6a26255f4537ecae1842ecad25242 1 parent 159a53b
@technomancy authored
Showing with 14 additions and 147 deletions.
  1. +5 −1 .gitignore
  2. +1 −1  README.md
  3. +0 −89 pom.xml
  4. +5 −0 project.clj
  5. +0 −33 src/assemble/distribution.xml
  6. +0 −20 src/emacs/swank-clojure-autoload.el
  7. 0  src/{main/clojure → }/swank/clj_contrib/macroexpand.clj
  8. 0  src/{main/clojure → }/swank/clj_contrib/pprint.clj
  9. 0  src/{main/clojure → }/swank/commands.clj
  10. 0  src/{main/clojure → }/swank/commands/basic.clj
  11. 0  src/{main/clojure → }/swank/commands/completion.clj
  12. 0  src/{main/clojure → }/swank/commands/contrib.clj
  13. 0  src/{main/clojure → }/swank/commands/contrib/swank_arglists.clj
  14. 0  src/{main/clojure → }/swank/commands/contrib/swank_c_p_c.clj
  15. 0  src/{main/clojure → }/swank/commands/contrib/swank_c_p_c/internal.clj
  16. 0  src/{main/clojure → }/swank/commands/contrib/swank_fuzzy.clj
  17. 0  src/{main/clojure → }/swank/commands/indent.clj
  18. 0  src/{main/clojure → }/swank/commands/inspector.clj
  19. 0  src/{main/clojure → }/swank/core.clj
  20. 0  src/{main/clojure → }/swank/core/connection.clj
  21. 0  src/{main/clojure → }/swank/core/hooks.clj
  22. 0  src/{main/clojure → }/swank/core/protocol.clj
  23. 0  src/{main/clojure → }/swank/core/server.clj
  24. 0  src/{main/clojure → }/swank/core/threadmap.clj
  25. 0  src/{main/clojure → }/swank/dev.clj
  26. +3 −3 src/{main/clojure → }/swank/loader.clj
  27. 0  src/{main/clojure → }/swank/swank.clj
  28. 0  src/{main/clojure → }/swank/util.clj
  29. 0  src/{main/clojure → }/swank/util/class_browse.clj
  30. 0  src/{main/clojure → }/swank/util/clojure.clj
  31. 0  src/{main/clojure → }/swank/util/concurrent/mbox.clj
  32. 0  src/{main/clojure → }/swank/util/concurrent/thread.clj
  33. 0  src/{main/clojure → }/swank/util/hooks.clj
  34. 0  src/{main/clojure → }/swank/util/io.clj
  35. 0  src/{main/clojure → }/swank/util/java.clj
  36. 0  src/{main/clojure → }/swank/util/net/sockets.clj
  37. 0  src/{main/clojure → }/swank/util/string.clj
  38. 0  src/{main/clojure → }/swank/util/sys.clj
  39. 0  {src/emacs → }/swank-clojure.el
  40. 0  {src → }/test/clojure/swank/test_swank.clj
  41. 0  {src → }/test/clojure/swank/test_swank/commands/contrib/swank_c_p_c.clj
  42. 0  {src → }/test/clojure/swank/test_swank/core/protocol.clj
  43. 0  {src → }/test/clojure/swank/test_swank/util.clj
  44. 0  {src → }/test/clojure/swank/test_swank/util/net/sockets.clj
View
6 .gitignore
@@ -1 +1,5 @@
-target
+classes/
+lib/
+swank-clojure.jar
+Manifest.txt
+pom.xml
View
2  README.md
@@ -107,7 +107,7 @@ you'll need to manually install the elisp dependencies as well.
$ git clone git://github.com/technomancy/clojure-mode.el
Open slime/slime.el, slime/contrib/slime-repl.el,
-clojure-mode/clojure-mode.el, and src/emacs/swank-clojure.el and hit
+clojure-mode/clojure-mode.el, and swank-clojure.el and hit
M-x package-install-from-buffer in each buffer in order. You will get
compiler warnings, but they should not be fatal. Restart Emacs, and
you should be able to use M-x slime.
View
89 pom.xml
@@ -1,89 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.clojure</groupId>
- <packaging>jar</packaging>
- <version>1.0</version>
- <name>swank-clojure</name>
- <artifactId>${name}</artifactId>
- <description>SWANK server connecting Clojure to Emacs SLIME</description>
- <inceptionYear>2008</inceptionYear>
- <url>http://github.com/jochu/swank-clojure</url>
- <licenses>
- <license>
- <name>GNU General Public License, Version 3</name>
- <url>http://www.gnu.org/licenses/gpl.html</url>
- <distribution>repo</distribution>
- <comments>Same license as distributed with Emacs</comments>
- </license>
- </licenses>
- <developers>
- <developer>
- <id>jochu</id>
- <name>Jeffrey Chu</name>
- <email>jochu0@gmail.com</email>
- <url>http://clojure.codestuffs.com/</url>
- <roles>
- <role>developer</role>
- </roles>
- </developer>
- <developer>
- <id>technomancy</id>
- <name>Phil Hagelberg</name>
- <email>phil@hagelb.org</email>
- <url>http://technomancy.us/</url>
- <roles>
- <role>developer</role>
- </roles>
- </developer>
- </developers>
- <dependencies>
- <dependency>
- <groupId>org.clojure</groupId>
- <artifactId>clojure</artifactId>
- <version>1.0.0</version>
- </dependency>
- </dependencies>
- <build>
- <resources>
- <resource>
- <directory>${basedir}/src/main/clojure</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>com.theoryinpractise</groupId>
- <artifactId>clojure-maven-plugin</artifactId>
- <version>1.1</version>
- <configuration>
- <namespaces>
- <!-- These may throw NullPointerException on compile: -->
- <namespace>!swank.loader</namespace>
- <namespace>!swank.commands.contrib.swank-arglists</namespace>
- <!-- These are until we workaround the terrible at load time checks: -->
- <namespace>!swank.clj-contrib.pprint</namespace>
- <namespace>!swank.clj-contrib.macroexpand</namespace>
- <namespace>!swank.commands.basic</namespace>
- </namespaces>
- </configuration>
- <executions>
- <execution>
- <id>compile-clojure</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/assemble/distribution.xml</descriptor>
- </descriptors>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
View
5 project.clj
@@ -0,0 +1,5 @@
+(defproject org.clojure/swank-clojure "1.1.0-SNAPSHOT"
+ :description "SWANK server connecting Clojure to Emacs SLIME"
+ :url "http://github.com/technomancy/swank-clojure"
+ :main swank.swank
+ :dependencies [[org.clojure/clojure "1.1.0-alpha-SNAPSHOT"]])
View
33 src/assemble/distribution.xml
@@ -1,33 +0,0 @@
-<assembly>
- <id>distribution</id>
- <formats>
- <format>zip</format>
- <format>tar.bz2</format>
- <format>tar.gz</format>
- </formats>
- <files>
- <file>
- <source>src/emacs/swank-clojure-autoload.el</source>
- <outputDirectory>/</outputDirectory>
- <filtered>true</filtered>
- </file>
- <file>
- <source>src/emacs/swank-clojure.el</source>
- <outputDirectory>/</outputDirectory>
- </file>
- <file>
- <source>README</source>
- <outputDirectory>/</outputDirectory>
- <filtered>true</filtered>
- </file>
- </files>
- <fileSets>
- <fileSet>
- <directory>${project.build.directory}</directory>
- <outputDirectory>/</outputDirectory>
- <includes>
- <include>*.jar</include>
- </includes>
- </fileSet>
- </fileSets>
-</assembly>
View
20 src/emacs/swank-clojure-autoload.el
@@ -1,20 +0,0 @@
-(autoload 'swank-clojure-init "swank-clojure" "Initialize clojure for swank")
-(autoload 'swank-clojure-cmd "swank-clojure" "Command to start clojure")
-(autoload 'swank-clojure-project "swank-clojure" "Start a Clojure project session" t)
-
-(eval-after-load "slime"
- '(progn
- (require 'swank-clojure)
- (when (or swank-clojure-binary swank-clojure-classpath)
- (add-to-list 'slime-lisp-implementations
- `(clojure ,(swank-clojure-cmd) :init swank-clojure-init) t))
- (add-hook 'slime-indentation-update-hooks 'swank-clojure-update-indentation)
- (add-hook 'slime-repl-mode-hook 'swank-clojure-slime-repl-modify-syntax t)
- (add-hook 'clojure-mode-hook 'swank-clojure-slime-mode-hook t)))
-
-(defmacro swank-clojure-config (&rest body)
- `(eval-after-load "swank-clojure"
- '(progn
- ,@body)))
-
-(provide 'swank-clojure-autoload)
View
0  ...clojure/swank/clj_contrib/macroexpand.clj → src/swank/clj_contrib/macroexpand.clj
File renamed without changes
View
0  ...main/clojure/swank/clj_contrib/pprint.clj → src/swank/clj_contrib/pprint.clj
File renamed without changes
View
0  src/main/clojure/swank/commands.clj → src/swank/commands.clj
File renamed without changes
View
0  src/main/clojure/swank/commands/basic.clj → src/swank/commands/basic.clj
File renamed without changes
View
0  ...ain/clojure/swank/commands/completion.clj → src/swank/commands/completion.clj
File renamed without changes
View
0  src/main/clojure/swank/commands/contrib.clj → src/swank/commands/contrib.clj
File renamed without changes
View
0  ...swank/commands/contrib/swank_arglists.clj → ...swank/commands/contrib/swank_arglists.clj
File renamed without changes
View
0  ...re/swank/commands/contrib/swank_c_p_c.clj → src/swank/commands/contrib/swank_c_p_c.clj
File renamed without changes
View
0  ...commands/contrib/swank_c_p_c/internal.clj → ...commands/contrib/swank_c_p_c/internal.clj
File renamed without changes
View
0  ...re/swank/commands/contrib/swank_fuzzy.clj → src/swank/commands/contrib/swank_fuzzy.clj
File renamed without changes
View
0  src/main/clojure/swank/commands/indent.clj → src/swank/commands/indent.clj
File renamed without changes
View
0  ...main/clojure/swank/commands/inspector.clj → src/swank/commands/inspector.clj
File renamed without changes
View
0  src/main/clojure/swank/core.clj → src/swank/core.clj
File renamed without changes
View
0  src/main/clojure/swank/core/connection.clj → src/swank/core/connection.clj
File renamed without changes
View
0  src/main/clojure/swank/core/hooks.clj → src/swank/core/hooks.clj
File renamed without changes
View
0  src/main/clojure/swank/core/protocol.clj → src/swank/core/protocol.clj
File renamed without changes
View
0  src/main/clojure/swank/core/server.clj → src/swank/core/server.clj
File renamed without changes
View
0  src/main/clojure/swank/core/threadmap.clj → src/swank/core/threadmap.clj
File renamed without changes
View
0  src/main/clojure/swank/dev.clj → src/swank/dev.clj
File renamed without changes
View
6 src/main/clojure/swank/loader.clj → src/swank/loader.clj
@@ -1,6 +1,6 @@
(ns swank.loader
- (:require (swank.util [sys :as sys] [clojure :as clj]))
- (:import (java.io File)))
+ (:require [swank.util [sys :as sys] [clojure :as clj]])
+ (:import [java.io File]))
(defonce #^File *swank-source-path*
(.getParentFile
@@ -98,4 +98,4 @@
(.mkdirs path))
(add-classpath (-> path .toURI .toURL))
(when-not path-already-exists?
- (compile-swank (str path)))))
+ (compile-swank (str path)))))
View
0  src/main/clojure/swank/swank.clj → src/swank/swank.clj
File renamed without changes
View
0  src/main/clojure/swank/util.clj → src/swank/util.clj
File renamed without changes
View
0  src/main/clojure/swank/util/class_browse.clj → src/swank/util/class_browse.clj
File renamed without changes
View
0  src/main/clojure/swank/util/clojure.clj → src/swank/util/clojure.clj
File renamed without changes
View
0  ...in/clojure/swank/util/concurrent/mbox.clj → src/swank/util/concurrent/mbox.clj
File renamed without changes
View
0  .../clojure/swank/util/concurrent/thread.clj → src/swank/util/concurrent/thread.clj
File renamed without changes
View
0  src/main/clojure/swank/util/hooks.clj → src/swank/util/hooks.clj
File renamed without changes
View
0  src/main/clojure/swank/util/io.clj → src/swank/util/io.clj
File renamed without changes
View
0  src/main/clojure/swank/util/java.clj → src/swank/util/java.clj
File renamed without changes
View
0  src/main/clojure/swank/util/net/sockets.clj → src/swank/util/net/sockets.clj
File renamed without changes
View
0  src/main/clojure/swank/util/string.clj → src/swank/util/string.clj
File renamed without changes
View
0  src/main/clojure/swank/util/sys.clj → src/swank/util/sys.clj
File renamed without changes
View
0  src/emacs/swank-clojure.el → swank-clojure.el
File renamed without changes
View
0  src/test/clojure/swank/test_swank.clj → test/clojure/swank/test_swank.clj
File renamed without changes
View
0  ...st_swank/commands/contrib/swank_c_p_c.clj → ...st_swank/commands/contrib/swank_c_p_c.clj
File renamed without changes
View
0  ...lojure/swank/test_swank/core/protocol.clj → ...lojure/swank/test_swank/core/protocol.clj
File renamed without changes
View
0  src/test/clojure/swank/test_swank/util.clj → test/clojure/swank/test_swank/util.clj
File renamed without changes
View
0  ...ure/swank/test_swank/util/net/sockets.clj → ...ure/swank/test_swank/util/net/sockets.clj
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.