Skip to content

Commit

Permalink
static build working
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Apr 13, 2024
1 parent a65fde6 commit 782a470
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 41 deletions.
27 changes: 17 additions & 10 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{:paths ["src"
"resources"
"target/webly"]
:deps {org.pinkgorilla/webly {:mvn/version "0.5.661"}
:deps {org.pinkgorilla/webly {:mvn/version "0.5.662"}

org.pinkgorilla/clj-service {:mvn/version "0.2.7"}
org.pinkgorilla/oauth2 {:mvn/version "0.0.25"} ; oauth2 needs to be in docs, because of login-dialogs. rest can be loaded dynamically.
Expand All @@ -14,29 +14,30 @@
org.pinkgorilla/ui-tailwind {:mvn/version "0.0.5"}
org.pinkgorilla/ui-fonts {:mvn/version "0.0.3"}
org.pinkgorilla/ui-site {:mvn/version "0.0.29"} ; menu
org.pinkgorilla/ui-input {:mvn/version "0.2.42"} ; react-spaces rnd ...
org.pinkgorilla/ui-input {:mvn/version "0.2.44"} ; react-spaces rnd ...
;; "code-editor/viewer"
org.pinkgorilla/ui-codemirror {:mvn/version "0.1.47"}
org.pinkgorilla/ui-codemirror {:mvn/version "0.1.48"}
org.pinkgorilla/ui-highlightjs {:mvn/version "0.0.9"}
;; "tables"
org.pinkgorilla/ui-pprint-frisk {:mvn/version "0.6.562"} ; sci dep
;org.pinkgorilla/ui-reacttable {:mvn/version "0.0.6"} ; pinkie problem
org.pinkgorilla/ui-aggrid {:mvn/version "0.1.21"}
org.pinkgorilla/ui-aggrid {:mvn/version "0.1.22"}
org.pinkgorilla/reagent-table {:mvn/version "0.0.14"}
org.pinkgorilla/options {:mvn/version "0.0.10"}
; ""charts"
org.pinkgorilla/ui-vega {:mvn/version "0.2.216"}
org.pinkgorilla/ui-vega {:mvn/version "0.3.219"}
org.pinkgorilla/ui-highcharts {:mvn/version "0.0.28"}
org.pinkgorilla/ui-cytoscape {:mvn/version "0.1.10"}
org.pinkgorilla/ui-leaflet {:mvn/version "0.1.20"}
org.pinkgorilla/ui-echarts {:mvn/version "0.0.3"}
org.pinkgorilla/ui-leaflet {:mvn/version "0.1.21"}
org.pinkgorilla/ui-echarts {:mvn/version "0.1.7"}
org.pinkgorilla/ui-sparklines {:mvn/version "0.0.4"}
;org.pinkgorilla/ui-video {:mvn/version "0.0.4"} ; now creates compile issues.
org.pinkgorilla/ui-video {:mvn/version "0.2.8"} ; react-player clojure-compiler issue, youtube-player ok

;org.pinkgorilla/ui-math {:mvn/version "0.0.7"}
; non lazy deps
;org.pinkgorilla/ui-quil {:mvn/version "0.1.7"} ; not bundeled (too big)
; run by default in goldly-docs-services

; run by default in docs-services
nrepl/nrepl {:mvn/version "1.0.0"}
cider/cider-nrepl {:mvn/version "0.28.3"}}

Expand Down Expand Up @@ -72,4 +73,10 @@
:nblist {:exec-fn modular.system/start!
:exec-args {:run reval.task/print-all-collections
:config ["docs/docs-config.edn"]
:services "docs/task-services.edn"}}}}
:services "docs/task-services.edn"}}


:show-public {:exec-fn public-res/show-public
:extra-paths ["dev"]}

}}
17 changes: 17 additions & 0 deletions dev/public_res.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
(ns public-res
(:require
[clojure.pprint :refer [print-table]]
[modular.resource.explore :refer [describe-recursive-files]]
)
)


(defn show-public [_]
(-> (describe-recursive-files "public")
print-table
;println
)

)


6 changes: 6 additions & 0 deletions resources/ext/docs.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{:name "docs"
:lazy true
:depends-on #{:reval-ui}
:cljs-routes {"" reval.page.viewer/viewer-page}
;
}
30 changes: 0 additions & 30 deletions src/demo/notebook/goldly_videos.clj

This file was deleted.

3 changes: 2 additions & 1 deletion static-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ rm target -r
rm .shadow-cljs -r

clojure -X:webly:npm-install
clojure -X:webly:release-adv
clojure -X:webly:compile
# clojure -X:webly:release-adv
clojure -X:webly:static
clojure -X:nbeval
cp target/webly/public/rdocument target/static/r -r

0 comments on commit 782a470

Please sign in to comment.