mirror of
https://github.com/correl/elm.git
synced 2024-11-15 11:09:30 +00:00
Update exercise support files to npm + elm 0.18
This commit is contained in:
parent
a41a6b0468
commit
3b35718196
146 changed files with 437 additions and 147 deletions
|
@ -40,7 +40,7 @@ do
|
|||
mv "$exercise_dir/$exercise_name.elm" "$exercise_dir/$exercise_name.impl"
|
||||
mv "$exercise_dir/$exercise_name.example.elm" "$exercise_dir/$exercise_name.elm"
|
||||
echo '-------------------------------------------------------'
|
||||
echo "Testing $exercise"
|
||||
echo "Testing $exercise_name"
|
||||
|
||||
# prevent elm-test from installing dependencies
|
||||
mv $exercise_dir/elm-package.json $exercise_dir/elm-package.json.disabled
|
||||
|
@ -50,7 +50,7 @@ do
|
|||
# capture result from last command (elm-test)
|
||||
if [ $? -ne 0 ]; then
|
||||
TEST_RESULT=1
|
||||
FAILED_EXERCISES+="$exercise\n"
|
||||
FAILED_EXERCISES+="$exercise_name\n"
|
||||
fi
|
||||
|
||||
# be kind, rewind
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -31,7 +31,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/accumulate/package.json
Normal file
13
exercises/accumulate/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -50,7 +50,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/allergies/package.json
Normal file
13
exercises/allergies/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -93,7 +93,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/anagram/package.json
Normal file
13
exercises/anagram/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -37,7 +37,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/atbash-cipher/package.json
Normal file
13
exercises/atbash-cipher/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -150,7 +150,7 @@ gibberishQuestion length =
|
|||
(gibberish length anyCharacter) ++ "?"
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/bob/package.json
Normal file
13
exercises/bob/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -39,7 +39,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/difference-of-squares/package.json
Normal file
13
exercises/difference-of-squares/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -41,7 +41,7 @@ date input =
|
|||
Debug.crash reason
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/gigasecond/package.json
Normal file
13
exercises/gigasecond/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -61,7 +61,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/grade-school/package.json
Normal file
13
exercises/grade-school/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -41,7 +41,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/hamming/package.json
Normal file
13
exercises/hamming/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -47,7 +47,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/largest-series-product/package.json
Normal file
13
exercises/largest-series-product/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -27,7 +27,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/leap/package.json
Normal file
13
exercises/leap/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -69,7 +69,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/list-ops/package.json
Normal file
13
exercises/list-ops/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -27,7 +27,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/nucleotide-count/package.json
Normal file
13
exercises/nucleotide-count/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -49,7 +49,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/pangram/package.json
Normal file
13
exercises/pangram/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -37,7 +37,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/phone-number/package.json
Normal file
13
exercises/phone-number/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -43,7 +43,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/raindrops/package.json
Normal file
13
exercises/raindrops/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -27,7 +27,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/rna-transcription/package.json
Normal file
13
exercises/rna-transcription/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -142,7 +142,7 @@ assertionList xs ys =
|
|||
List.map2 Expect.equal xs ys
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/robot-simulator/package.json
Normal file
13
exercises/robot-simulator/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -85,7 +85,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/roman-numerals/package.json
Normal file
13
exercises/roman-numerals/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm"
|
|
@ -1,6 +1,6 @@
|
|||
port module Main exposing (..)
|
||||
|
||||
import Test.Runner.Node exposing (run)
|
||||
import Test.Runner.Node exposing (run, TestProgram)
|
||||
import Json.Encode exposing (Value)
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
@ -39,7 +39,7 @@ tests =
|
|||
]
|
||||
|
||||
|
||||
main : Program Value
|
||||
main : TestProgram
|
||||
main =
|
||||
run emit tests
|
||||
|
13
exercises/run-length-encoding/package.json
Normal file
13
exercises/run-length-encoding/package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "Excercism/Elm",
|
||||
"repository": "https://github.com/exercism/xelm.git",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"postinstall": "elm-package install -y",
|
||||
"test": "elm-test Tests.elm"
|
||||
},
|
||||
"dependencies": {
|
||||
"elm": "^0.18.0",
|
||||
"elm-test": "^0.18.0"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
ECHO We've changed how tests are run! Please review the latest install/running docs at http://exercism.io/languages/elm and report any issues at https://github.com/exercism/xelm
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue