From f9344e0264f4b408bb5efc44e4bd0803e780e53f Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 31 Aug 2024 05:57:10 -0600 Subject: [PATCH] add gleam install test --- Justfile | 11 +++++++++-- shelltests/installs.test | 16 +++++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index f79aaf1..fa70ef8 100644 --- a/Justfile +++ b/Justfile @@ -2,10 +2,17 @@ docker-image: docker build -t beamup-shelltest . docker-run-shelltests: docker-image - docker run -v $(pwd):/app beamup-shelltest shelltests + docker run -v $(pwd):/app beamup-shelltest in-docker-shelltests build: cargo build -shelltests: build +# have to copy to a new dir outside of the mounted volume or +# we get an error when the link is created +in-docker-shelltests: build + mkdir /tmp/app + cp -R . /tmp/app + cd /tmp/app && just shelltests + +shelltests: shelltest -c --diff --all shelltests/*.test diff --git a/shelltests/installs.test b/shelltests/installs.test index df0c8f3..cbb120e 100644 --- a/shelltests/installs.test +++ b/shelltests/installs.test @@ -1,2 +1,16 @@ target/debug/beamup help ->>>= 0 \ No newline at end of file +>>>= 0 + + +target/debug/beamup install gleam v1.4.1 +>>>=0 + +target/debug/beamup list +>>> +Elixir: + +Erlang: + +Gleam: +v1.4.1 +>>>=0