Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
Cabal
Commits
f682f367
Commit
f682f367
authored
17 years ago
by
Duncan Coutts
Browse files
Options
Downloads
Patches
Plain Diff
Remove the old attic file
parent
abff7be3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Distribution/attic
+0
-44
0 additions, 44 deletions
Distribution/attic
with
0 additions
and
44 deletions
Distribution/attic
deleted
100644 → 0
+
0
−
44
View file @
abff7be3
rawSystemEmit :: FilePath -- ^Script name
-> Bool -- ^if true, emit, if false, run
-> Int -- ^Verbosity
-> FilePath -- ^Program to run
-> [String] -- ^Args
-> IO ()
rawSystemEmit _ False verbosity path args
= rawSystemExit verbosity path args
rawSystemEmit scriptName True verbosity path args
= writeFile scriptName ("#!/bin/sh\n\n"
++ (path ++ concatMap (' ':) args)
++ "\n")
>> putStrLn (path ++ concatMap (' ':) args)
-- build the executables
sequence_ [rawSystemExit (compilerPath (compiler lbi)) ["--make", modName, "-o" ++ exeName]
| (exeName, modName, _) <- executables pkg_descr]
TestLabel "Config" $ TestList [
"config prefix ghc given package tool" ~: "failed" ~:
basicGhcConfig ~=? (parseArgs ["--prefix=/lib", "--ghc",
"--with-compiler=/bin/ghc",
"--with-pkg=/bin/ghc-pkg",
"configure"]),
"find package tool" ~: "failed" ~:
basicGhcConfig ~=? (parseArgs ["--prefix=/lib", "--ghc",
"--with-compiler=/bin/ghc",
"configure"]),
"locate compiler and package tool" ~: "failed" ~:
realGhcConfig ~=? (parseArgs ["configure", "--ghc"]),
"should we default to the current compiler?" ~: "failed" ~:
realGhcConfig ~=? (parseArgs ["configure"])],
let basicGhcConfig = (ConfigCmd [Prefix "/lib",
GhcFlag,
(LocalBuildInfo "/lib"
(Compiler GHC "/bin/ghc"
"/bin/ghc-pkg")), [])
let realGhcConfig = (ConfigCmd (LocalBuildInfo "" (Compiler Hugs "" "")), [])
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment