Skip to content

Commit

Permalink
Add user namespace as default repl profile
Browse files Browse the repository at this point in the history
  • Loading branch information
solsarratea committed Dec 12, 2019
1 parent fc57453 commit 9e2338e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
12 changes: 10 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
:description "Extends midi-file uses on livecoding with Overtone"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[overtone/overtone "0.10.3"]]
:native-path "native"
:dependencies [[overtone/overtone "0.10.3"]
[org.clojure/tools.namespace "0.3.1"]]
:native-path "nativde"
:profile
{:repl
{:repl-options
{:init-ns user
:host "127.0.0.1"
:port 47480}}}
:source-paths ["src"])

7 changes: 7 additions & 0 deletions src/user.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(ns user
(:require [clojure.tools.namespace.repl :as tools]))

(defn load
[]
(tools/refresh))

0 comments on commit 9e2338e

Please sign in to comment.