From db0cf2fbb7123a63143ec444944d0d4f6b1fd4d8 Mon Sep 17 00:00:00 2001 From: lidorcg Date: Fri, 25 Dec 2020 09:46:46 +0000 Subject: [PATCH 1/3] Fully automate dev setup with Gitpod This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. --- .gitpod.Dockerfile | 7 +++++++ .gitpod.yml | 6 ++++++ README.md | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 .gitpod.Dockerfile create mode 100644 .gitpod.yml diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000..6921a32 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,7 @@ +FROM clojure + +# Install custom tools, runtimes, etc. +# For example "bastet", a command-line tetris clone: +# RUN brew install bastet +# +# More information: https://www.gitpod.io/docs/config-docker/ diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..475c7d9 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,6 @@ +image: + file: .gitpod.Dockerfile + +tasks: + - init: 'echo "TODO: Replace with init/build command"' + command: 'echo "TODO: Replace with command to start project"' diff --git a/README.md b/README.md index da88f1c..490a503 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/functional-koans/clojure-koans) + # Clojure Koans The Clojure Koans are a fun way to get started with Clojure - no experience From cf8035d2948baa505dfec30e04573e07e891ffdb Mon Sep 17 00:00:00 2001 From: lidorcg Date: Sat, 26 Dec 2020 19:10:14 +0000 Subject: [PATCH 2/3] Update gitpod config - remove gitpod.Dockerfile - set clojure as gitpod image --- .gitpod.Dockerfile | 7 ------- .gitpod.yml | 5 ++--- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 .gitpod.Dockerfile diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile deleted file mode 100644 index 6921a32..0000000 --- a/.gitpod.Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM clojure - -# Install custom tools, runtimes, etc. -# For example "bastet", a command-line tetris clone: -# RUN brew install bastet -# -# More information: https://www.gitpod.io/docs/config-docker/ diff --git a/.gitpod.yml b/.gitpod.yml index 475c7d9..d49810b 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,6 +1,5 @@ image: - file: .gitpod.Dockerfile + file: clojure tasks: - - init: 'echo "TODO: Replace with init/build command"' - command: 'echo "TODO: Replace with command to start project"' + - command: 'lein koan run' From 5cc14d974e82f0577344c5241b864d3a5bc4692e Mon Sep 17 00:00:00 2001 From: lidorcg Date: Sat, 26 Dec 2020 19:21:26 +0000 Subject: [PATCH 3/3] - fix gitpod.yml --- .gitpod.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index d49810b..29b8cd1 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,5 +1,4 @@ -image: - file: clojure +image: clojure tasks: - command: 'lein koan run'