Skip to content

Commit

Permalink
add gleam install test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Aug 31, 2024
1 parent 9871899 commit f9344e0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
11 changes: 9 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 15 additions & 1 deletion shelltests/installs.test
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
target/debug/beamup help
>>>= 0
>>>= 0


target/debug/beamup install gleam v1.4.1
>>>=0

target/debug/beamup list
>>>
Elixir:

Erlang:

Gleam:
v1.4.1
>>>=0

0 comments on commit f9344e0

Please sign in to comment.