Skip to content

Commit f71559a

Browse files
author
Sean McGivern
committed
lein new mies
1 parent 07593e2 commit f71559a

File tree

25 files changed

+135
-34
lines changed

25 files changed

+135
-34
lines changed

.gitignore

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
/target
2-
/classes
3-
/checkouts
41
pom.xml
5-
pom.xml.asc
6-
*.jar
7-
*.class
8-
/.lein-*
9-
/.nrepl-port
10-
.hgignore
11-
.hg/
2+
*jar
3+
/lib/
4+
/classes/
5+
/out/
6+
/release/
7+
/target/
8+
.lein-deps-sum
9+
.lein-repl-history
10+
.lein-plugins/

.hgignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
syntax: glob
2+
target/**
3+
classes/**
4+
checkouts/**
5+
pom.xml
6+
pom.xml.asc
7+
*.jar
8+
*.class
9+
/.lein-*
10+
/.nrepl-port
11+
.gitignore
12+
.git/**

doc/intro.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>gitique-examples</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6+
</head>
7+
<body>
8+
<script src="out/gitique_examples.js" type="text/javascript"></script>
9+
</body>
10+
</html>

index_release.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>gitique-examples</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6+
</head>
7+
<body>
8+
<script src="release/gitique_examples.js" type="text/javascript"></script>
9+
</body>
10+
</html>

project.clj

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
(defproject gitique-examples "0.1.0-SNAPSHOT"
2-
:description "FIXME: write description"
2+
:description "FIXME: write this!"
33
:url "http://example.com/FIXME"
4-
:license {:name "Eclipse Public License"
5-
:url "http://www.eclipse.org/legal/epl-v10.html"}
6-
:dependencies [[org.clojure/clojure "1.6.0"]]
7-
:main ^:skip-aot gitique-examples.core
8-
:target-path "target/%s"
9-
:profiles {:uberjar {:aot :all}})
4+
:dependencies [[org.clojure/clojure "1.7.0"]
5+
[org.clojure/clojurescript "1.7.48" :classifier "aot"
6+
:exclusion [org.clojure/data.json]]
7+
[org.clojure/data.json "0.2.6" :classifier "aot"]]
8+
:jvm-opts ^:replace ["-Xmx1g" "-server"]
9+
:plugins [[lein-npm "0.6.1"]]
10+
:npm {:dependencies [[source-map-support "0.3.2"]]}
11+
:source-paths ["src" "target/classes"]
12+
:clean-targets ["out" "release"]
13+
:target-path "target")

scripts/brepl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
rlwrap lein trampoline run -m clojure.main scripts/brepl.clj

scripts/brepl.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
lein trampoline run -m clojure.main scripts\brepl.clj

scripts/brepl.clj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
(require
2+
'[cljs.build.api :as b]
3+
'[cljs.repl :as repl]
4+
'[cljs.repl.browser :as browser])
5+
6+
(b/build "src"
7+
{:main 'gitique-examples.core
8+
:output-to "out/gitique_examples.js"
9+
:output-dir "out"
10+
:verbose true})
11+
12+
(repl/repl (browser/repl-env)
13+
:output-dir "out")

scripts/build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
rlwrap lein trampoline run -m clojure.main scripts/build.clj

0 commit comments

Comments
 (0)