Permalink
Browse files

Move to leiningen.

  • Loading branch information...
1 parent 159a53b commit 2b43e1d39be6a26255f4537ecae1842ecad25242 @technomancy committed Nov 19, 2009
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
@@ -1 +1,5 @@
-target
+classes/
+lib/
+swank-clojure.jar
+Manifest.txt
+pom.xml
View
@@ -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
@@ -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"]])
@@ -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>
@@ -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)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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)))))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2b43e1d

Please sign in to comment.