Skip to content

Commit

Permalink
change base url
Browse files Browse the repository at this point in the history
  • Loading branch information
duck1123 committed Sep 19, 2021
1 parent 65042fd commit bea5c64
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- mode: python -*-
# Tilt

base_url = 'dinsro.localhost'
base_url = 'dinsro.dev.kronkltd.net'

load('ext://namespace', 'namespace_create')

Expand Down
20 changes: 16 additions & 4 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@
compile-cljs
{:doc "Compile clojurescript source files"
:depends [init]
:task (clojure "-M:dev:shadow-cljs compile main")}
:task (let [devtools-url "http://devtools2.dinsro.dev.kronkltd.net"
data {:devtools {:devtools-url devtools-url}}
args (format "-M:dev:shadow-cljs compile main --config-merge '%s'"
(pr-str data))]
(clojure args))}

compile-production
{:doc "Compile all source files for production"
Expand Down Expand Up @@ -202,10 +206,18 @@
test-integration
{:task (shell "npx cypress run")}

watch {:depnds [watch-cljs]}
watch {:depends [watch-cljs]}

watch-cljs
{:task (clojure "-M:test:dev:shadow-cljs watch main workspaces")}
{:task (let [devtools-url "http://devtools.dinsro.dev.kronkltd.net"
data {:devtools {:devtools-url devtools-url}}
args (format "-M:dev:shadow-cljs watch main workspaces --config-merge '%s'"
(pr-str data))]
(clojure args))}

workspaces
{:task (clojure "-M:test:dev:shadow-cljs watch workspaces")}}}
{:task (let [devtools-url "http://devtools.dinsro.dev.kronkltd.net"
data {:devtools {:devtools-url devtools-url}}
args (format "-M:dev:shadow-cljs watch workspaces --config-merge '%s'"
(pr-str data))]
(clojure args))}}}

0 comments on commit bea5c64

Please sign in to comment.