Skip to content

Commit

Permalink
chore(dev): rm unused workspace card
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Sep 13, 2022
1 parent 987af63 commit c3e96db
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 118 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ jobs:
run: |
cp -r static public/
rm -rvf public/static/js/publishing
rm -rvf public/workspaces
rm -rvf public/static/js/*.js.map || true
rm -rvf public/static/*.*
rm -rvf public/static/ios
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install ca-certificates && \
WORKDIR /data/

# Build for static resources
RUN git clone https://github.com/logseq/logseq.git && cd /data/logseq && yarn && yarn release && mv ./static ./public && rm -r ./public/workspaces
RUN git clone https://github.com/logseq/logseq.git && cd /data/logseq && yarn && yarn release && mv ./static ./public

# Web App Runner image
FROM nginx:stable-alpine
Expand Down
3 changes: 1 addition & 2 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{:paths ["src/main" "src/electron" "src/workspaces" "templates"]
{:paths ["src/main" "src/electron" "templates"]
:deps
{org.clojure/clojure {:mvn/version "1.10.0"}
rum/rum {:mvn/version "0.12.9"}
Expand Down Expand Up @@ -28,7 +28,6 @@
binaryage/devtools {:mvn/version "1.0.5"}
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.2"}
instaparse/instaparse {:mvn/version "1.4.10"}
nubank/workspaces {:mvn/version "1.1.1"}
org.clojars.mmb90/cljs-cache {:mvn/version "0.1.4"}
logseq/graph-parser {:local/root "deps/graph-parser"}}

Expand Down
15 changes: 0 additions & 15 deletions public/workspaces/index.html

This file was deleted.

17 changes: 2 additions & 15 deletions shadow-cljs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
:nrepl {:port 8701}

;; "." for /static
:dev-http {3001 ["static" "."]
3002 ["public/workspaces" "."]}
:dev-http {3001 ["static" "."]}

:builds
{:app {:target :browser
Expand Down Expand Up @@ -95,16 +94,4 @@
:devtools {:before-load frontend.core/stop
:after-load frontend.core/start
:preloads [devtools.preload]}}

:cards {:target nubank.workspaces.shadow-cljs.target
:ns-regexp "(test|cards)$"
:output-dir "./public/workspaces/static/js/workspaces"
:asset-path "/static/js/workspaces"
:preloads [] ;; optional, list namespaces to be pre loaded
:devtools {:after-load nubank.workspaces.core/after-load
:loader-mode :eval
:watch-path "/static"
:watch-dir "static"
:preloads [devtools.preload
shadow.remote.runtime.cljs.browser]}
:modules {:main {:entries [workspaces.main]}}}}}
}}
79 changes: 0 additions & 79 deletions src/workspaces/workspaces/cards.cljs

This file was deleted.

5 changes: 0 additions & 5 deletions src/workspaces/workspaces/main.cljs

This file was deleted.

0 comments on commit c3e96db

Please sign in to comment.