-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #310 from sheaf/ci
Move tests to separate process-tests package & update CI to use GitHub actions
- Loading branch information
Showing
12 changed files
with
202 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
module Main (main) where | ||
|
||
import Distribution.Simple | ||
( defaultMainWithHooks | ||
, autoconfUserHooks | ||
) | ||
|
||
-------------------------------------------------------------------------------- | ||
|
||
main :: IO () | ||
main = defaultMainWithHooks autoconfUserHooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
packages: ., test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
cabal-version: 2.4 | ||
name: process | ||
version: 1.6.19.0 | ||
-- NOTE: Don't forget to update ./changelog.md | ||
license: BSD3 | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
maintainer: [email protected] | ||
bug-reports: https://github.com/haskell/process/issues | ||
synopsis: Process libraries | ||
category: System | ||
build-type: Configure | ||
cabal-version: >=1.10 | ||
description: | ||
This package contains libraries for dealing with system processes. | ||
. | ||
|
@@ -18,9 +18,11 @@ description: | |
read more about it at | ||
<https://github.com/fpco/typed-process/#readme>. | ||
|
||
extra-doc-files: | ||
changelog.md | ||
|
||
extra-source-files: | ||
aclocal.m4 | ||
changelog.md | ||
configure | ||
configure.ac | ||
include/HsProcessConfig.h.in | ||
|
@@ -90,19 +92,3 @@ library | |
directory >= 1.1 && < 1.4, | ||
filepath >= 1.2 && < 1.6, | ||
deepseq >= 1.1 && < 1.6 | ||
|
||
test-suite test | ||
default-language: Haskell2010 | ||
hs-source-dirs: test | ||
main-is: main.hs | ||
type: exitcode-stdio-1.0 | ||
-- Add otherwise redundant bounds on base since GHC's build system runs | ||
-- `cabal check`, which mandates bounds on base. | ||
build-depends: base >= 4 && < 5 | ||
, bytestring | ||
, directory | ||
, process | ||
ghc-options: -threaded | ||
-with-rtsopts "-N" | ||
if os(windows) | ||
cpp-options: -DWINDOWS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
resolver: ghc-9.2.3 | ||
|
||
packages: | ||
- . | ||
- test | ||
|
||
extra-deps: | ||
- Cabal-3.6.3.0 | ||
|
||
allow-newer: True | ||
allow-newer-deps: | ||
- Cabal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Copyright (c) 2024, the Haskell process developers. | ||
|
||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
* 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. | ||
|
||
* Neither the name of Isaac Jones nor the names of other | ||
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 | ||
OWNER 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.