From 571c6b7eac6ac362a4d3daa5b1613cea8526913a Mon Sep 17 00:00:00 2001 From: Ryan McQuen Date: Sun, 9 Aug 2020 21:15:28 +0000 Subject: [PATCH 1/3] Add run on repl.it badge to README This pull request adds a badge to the . This will allow users to easily run this repository in their browser, without having to set up an environment. You can learn more about Repl.it [here](https://repl.it). --- .replit | 2 ++ README.md | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .replit diff --git a/.replit b/.replit new file mode 100644 index 0000000..09921e9 --- /dev/null +++ b/.replit @@ -0,0 +1,2 @@ +language = "c" +run = "([ $(which sdl-config) ] && make && ./basque) || install-pkg libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev" \ No newline at end of file diff --git a/README.md b/README.md index defea0f..9ecf81d 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,12 @@ https://ryanpcmcquen.itch.io/basque --- -Too lazy to do local setup? You can give it a spin using Gitpod, the only downfall will be lack of audio. +Too lazy to do local setup? You can give it a spin using Gitpod or Repl.it, the only downfall will be lack of audio. [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ryanpcmcquen/basque) +[![Run on Repl.it](https://repl.it/badge/github/ryanpcmcquen/basque)](https://repl.it/github/ryanpcmcquen/basque) + --- #### Global keyboard shortcuts: From 516a2d3c328e08c87d80df6a2e697eb29664cc4b Mon Sep 17 00:00:00 2001 From: Ryan McQuen Date: Sat, 10 Jul 2021 12:29:12 -0700 Subject: [PATCH 2/3] Add onBoot property. --- .replit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.replit b/.replit index 09921e9..e7685c3 100644 --- a/.replit +++ b/.replit @@ -1,2 +1,3 @@ language = "c" -run = "([ $(which sdl-config) ] && make && ./basque) || install-pkg libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev" \ No newline at end of file +run = "make && ./basque" +onBoot = "install-pkg libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev" From 53ab27d396bb7430f368cdf5c34d3f527871776c Mon Sep 17 00:00:00 2001 From: Ryan McQuen Date: Sat, 10 Jul 2021 12:30:52 -0700 Subject: [PATCH 3/3] Use new link structure for replit.com. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ecf81d..8eee74e 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,11 @@ https://ryanpcmcquen.itch.io/basque --- -Too lazy to do local setup? You can give it a spin using Gitpod or Repl.it, the only downfall will be lack of audio. +Too lazy to do local setup? You can give it a spin using Gitpod or Replit, the only downfall will be lack of audio. [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ryanpcmcquen/basque) -[![Run on Repl.it](https://repl.it/badge/github/ryanpcmcquen/basque)](https://repl.it/github/ryanpcmcquen/basque) +[![Run on Replit](https://replit.com/badge/github/ryanpcmcquen/basque)](https://replit.comt/github/ryanpcmcquen/basque) ---