Commit 82b64667 authored by Alain M. Lafon's avatar Alain M. Lafon

chore: Old boot syntax with old boot

parent 4c7ae5f7
Pipeline #7205 failed with stage
in 2 minutes and 12 seconds
......@@ -13,6 +13,6 @@ ENV PATH=$PATH:$BOOT_INSTALL
ENV BOOT_AS_ROOT=yes
# Install the 200ok fork of Perun
RUN git clone https://github.com/200ok-ch/perun.git && cd perun && boot build; cd ..
RUN git clone https://github.com/200ok-ch/perun.git && cd perun && boot build && cd ..
CMD ["boot", "repl"]
\ No newline at end of file
......@@ -3,8 +3,14 @@ perun: Dockerfile
docker build -t twohundredok/perun .
docker push twohundredok/perun
.PHONY: enter
enter:
docker run -it --rm twohundredok/perun bash
.PHONY: build
build:
boot prod
.PHONY: deploy
deploy:
time lftp -e "mirror -R ./target/public/ .; exit" -u $$FTP_USER,$$FTP_PASSWORD $$FTP_HOST
......@@ -15,6 +15,9 @@ cd perun
boot build
#+END_SRC
INFO: It is _very_ important to keep the pinned version of Boot at
2.7.0. Newer versions of Boot have a different syntax for
** Deployment to 200ok.ch
*** Option 1
......
#http://boot-clj.com
#Thu Jul 30 16:28:20 CEST 2020
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.8.0
BOOT_VERSION=2.7.0
(set-env!
:source-paths #{"src"}
:resource-paths #{"resources" "assets"}
:checkouts [[perun "0.5.0-200ok-SNAPSHOT"]]
:dependencies [[org.clojure/clojure "1.8.0"]
:checkout '[[perun "0.5.0-200ok-SNAPSHOT"]]
:dependencies '[[org.clojure/clojure "1.8.0"]
[perun "0.5.0-200ok-SNAPSHOT"]
[hiccup "1.0.5"]
[garden "1.3.2"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment