Commit 4968223d authored by Michael Hanus 's avatar Michael Hanus
Browse files

distribution dependency removed

parent 6806f519
Copyright (c) 2020, Michael Hanus
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the names of the copyright holders nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
......@@ -4,6 +4,8 @@
"author": "Michael Hanus <mh@informatik.uni-kiel.de>",
"synopsis": "A tool to support automatic testing of Curry programs",
"category": [ "Testing" ],
"license": "BSD-3-Clause",
"licenseFile": "LICENSE",
"dependencies": {
"base" : ">= 3.0.0, < 4.0.0",
"abstract-curry": ">= 3.0.0, < 4.0.0",
......@@ -13,7 +15,6 @@
"contracts" : ">= 3.0.0, < 4.0.0",
"csv" : ">= 3.0.0, < 4.0.0",
"currypath" : ">= 3.0.0, < 4.0.0",
"distribution" : ">= 3.0.0, < 4.0.0",
"easycheck" : ">= 3.0.0, < 4.0.0",
"flatcurry" : ">= 3.0.0, < 4.0.0",
"frontend-exec" : ">= 3.0.0, < 4.0.0",
......
......@@ -14,18 +14,19 @@
--- (together with possible preconditions).
---
--- @author Michael Hanus, Jan-Patrick Baye
--- @version November 2020
--- @version December 2020
-------------------------------------------------------------------------
import Control.Monad ( unless, when )
import Data.Char ( toUpper )
import Control.Monad ( unless, when )
import Curry.Compiler.Distribution ( curryCompiler, installDir )
import Data.Char ( toUpper )
import Data.List
import Data.Maybe ( fromJust, isJust )
import System.Directory ( createDirectoryIfMissing )
import System.FilePath ( (</>), pathSeparator, takeDirectory )
import Data.Maybe ( fromJust, isJust )
import System.Directory ( createDirectoryIfMissing )
import System.FilePath ( (</>), pathSeparator, takeDirectory )
import System.Console.GetOpt
import System.Environment ( getArgs, setEnv )
import System.Process ( system, exitWith, getPID )
import System.Environment ( getArgs, setEnv )
import System.Process ( system, exitWith, getPID )
import System.Console.ANSI.Codes
import AbstractCurry.Types
......@@ -40,7 +41,6 @@ import Contract.Names
import qualified FlatCurry.Types as FC
import FlatCurry.Files
import qualified FlatCurry.Goodies as FCG
import Language.Curry.Distribution ( curryCompiler, installDir )
import System.CurryPath ( modNameToPath, lookupModuleSourceInLoadPath
, stripCurrySuffix )
import System.FrontendExec ( defaultParams, setQuiet )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment