-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathverify.sh
executable file
·52 lines (37 loc) · 1.08 KB
/
verify.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#! /bin/bash
set -o pipefail
set -e
verify_elixir()
{
mix local.hex --force && mix local.rebar --force && mix clean && mix deps.get && mix format && mix coveralls && mix credo --strict && mix escript.build
}
verify_python()
{
python -m unittest discover -s tests
}
verify_scala()
{
sbt scalastyle test:scalastyle assembly
}
#01
pushd 01-say-hello/elixir_say_hello && verify_elixir && popd
#02
pushd 02-count-characters/elixir_count_characters && verify_elixir && popd
#03
pushd 03-printing-quotes/elixir_printing_quotes && verify_elixir && popd
#04
pushd 04-mad-lib/elixir_mad_lib && verify_elixir && popd
#05
pushd 05-simple-math/scala-simple-math && verify_scala && popd
#06
pushd 06-retirement-calculator/elixir_retirement_calculator && verify_elixir && popd
#07
pushd 07-area-of-room/elixir_area_of_room && verify_elixir && popd
#08
pushd 08-pizza-party/python-pizza-party && verify_python && popd
#09
pushd 09-paint-calculator/scala-paint-calculator && verify_scala && popd
#10
pushd 10-self-checkout/python-self-checkout && verify_python && popd
bundle install
bundle exec cucumber