Permalink
Browse files

Remove app (#320)

* remove code related to klipse app

* cleanup
  • Loading branch information...
viebel committed Sep 12, 2018
1 parent 1a2865a commit 890d95ad4fe6613fba4746c7a97ae685a175b76b
View
@@ -1,8 +1,7 @@
(defproject klipse "7.5.0"
:description "Embeddable multi-language WEB REPL"
:resource-paths ["scripts" "src" "resources" "target"]
:clean-targets ^{:protect false} ["resources/public/dev/js"
"resources/public/plugin_prod/js"
:clean-targets ^{:protect false} ["resources/public/plugin_prod/js"
"resources/public/plugin/js"]
:min-lein-version "2.8.1"
:middleware [lein-tools-deps.plugin/resolve-dependencies-with-deps-edn]
@@ -15,23 +14,7 @@
:show-external false
:cluster-depth 2
:trim-ns-prefix true}
:cljsbuild {:builds {:app {
:source-paths ["src/klipse/run/app"]
:compiler {
:output-to "resources/public/dev/js/klipse.js"
:output-dir "resources/public/dev/js"
:pretty-print true
:optimize-constants true
:static-fns true
;:elide-asserts true
:closure-defines {klipse.core/version
~(->> (slurp "project.clj")
(re-seq #"\".*\"")
(first))}
:optimizations :simple
:verbose false}}
:plugin {
:source-paths ["src/klipse/run/plugin"]
:cljsbuild {:builds {:plugin {:source-paths ["src/klipse/run/plugin"]
:compiler {
:output-to "resources/public/plugin/js/klipse_plugin.js"
:output-dir "resources/public/plugin/js"
@@ -20,10 +20,6 @@
(def x ::foo)
x
</div>
<div class="clojure">
(def x ::sss/foo)
x
</div>
<div class="clojure">
(ns foo.core
(:require [clojure.set :as ppp]))

This file was deleted.

Oops, something went wrong.
@@ -55,7 +55,7 @@
//clojure_cached_macro_ns_regexp: /.*/,
//clojure_cached_ns_regexp: /.*/,
// codemirror_root: "http:/dsadsa/",
cached_ns_root: "http://localhost:9990/docs/cache-cljs",
// cached_ns_root: "http://localhost:9990/docs/cache-cljs",
};
</script>
<script src="/cljs-out/dev-main.js"></script>
View
@@ -1,5 +1,5 @@
lein clean
lein cljsbuild once plugin app plugin-prod
lein cljsbuild once plugin plugin-prod
./scripts/add_license resources/public/plugin_prod/js/klipse_plugin.min.js
./scripts/add_license resources/public/plugin/js/klipse_plugin.js
View
@@ -1,21 +1,16 @@
echo "zipping files"
gzip resources/public/dev/js/klipse.js
gzip resources/public/plugin/js/klipse_plugin.js
gzip resources/public/plugin_prod/js/klipse_plugin.min.js
echo "uploading to google storage"
gsutil -h "Content-Encoding:gzip" -h "Content-Type:application/javascript" cp resources/public/dev/js/klipse.js.gz gs://app.klipse.tech/dev/js/klipse.js
gsutil -h "Content-Encoding:gzip" -h "Content-Type:application/javascript" cp resources/public/plugin/js/klipse_plugin.js.gz gs://app.klipse.tech/plugin/js/klipse_plugin.js
gsutil -h "Content-Encoding:gzip" -h "Content-Type:application/javascript" cp resources/public/plugin_prod/js/klipse_plugin.min.js.gz gs://app.klipse.tech/plugin_prod/js/klipse_plugin.min.js
echo "cleaning"
gunzip resources/public/dev/js/klipse.js.gz
gunzip resources/public/plugin/js/klipse_plugin.js.gz
gunzip resources/public/plugin_prod/js/klipse_plugin.min.js.gz
mv resources/public/dev/js/klipse.js /tmp
mv resources/public/plugin/js/klipse_plugin.js /tmp
mv resources/public/plugin_prod/js/klipse_plugin.min.js /tmp
gsutil -m rsync -R resources/public gs://app.klipse.tech
mv /tmp/klipse.js resources/public/dev/js
mv /tmp/klipse_plugin.js resources/public/plugin/js
mv /tmp/klipse_plugin.min.js resources/public/plugin_prod/js
View

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
View
@@ -16,5 +16,4 @@
klipse.lang.server-eval
klipse.lang.php
klipse.lang.ocaml
klipse.lang.reason
klipse.run.app.app))
klipse.lang.reason))

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 890d95a

Please sign in to comment.