on master help sign in
Remove streamly-core from extra-source files
8a76b67Ranjeet Kumar Ranjan
.circleci/config.yml+4−2
@@ -59,7 +59,7 @@ env: &env
59 # If you have not committed packcheck.sh in your repo at PACKCHECK
59 # If you have not committed packcheck.sh in your repo at PACKCHECK
60 # then it is automatically pulled from this URL.
60 # then it is automatically pulled from this URL.
61 PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/composewell/packcheck"
61 PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/composewell/packcheck"
62− PACKCHECK_GITHUB_COMMIT: "35efa99b2082d13722b8a0183ac6455df98e91b9"
62+ PACKCHECK_GITHUB_COMMIT: "a302772c8f3791c477edd1764b82f8d1f5b22fdf"
63
63
64executors:
64executors:
65 amd64-executor:
65 amd64-executor:
@@ -150,6 +150,7 @@ jobs:
150 DISABLE_TEST: "yes"
150 DISABLE_TEST: "yes"
151 DISABLE_BENCH: "yes"
151 DISABLE_BENCH: "yes"
152 DISABLE_DIST_CHECKS: "yes"
152 DISABLE_DIST_CHECKS: "yes"
153+ DISABLE_SDIST_BUILD: "yes"
153 command: |
154 command: |
154 apt-get install -y ghc-8.10.4
155 apt-get install -y ghc-8.10.4
155 apt-get install -y cabal-install-3.4
156 apt-get install -y cabal-install-3.4
@@ -385,8 +386,9 @@ jobs:
385 - run:
386 - run:
386 name: Hlint src
387 name: Hlint src
387 environment:
388 environment:
388− BUILD: cabal-v2
389+ BUILD: hlint
389 HLINT_OPTIONS: lint
390 HLINT_OPTIONS: lint
391+ DISABLE_SDIST_BUILD: "yes"
390 HLINT_TARGETS: core/src src test benchmark
392 HLINT_TARGETS: core/src src test benchmark
391 command: |
393 command: |
392 bash -c "$PACKCHECK $BUILD" || exit 1
394 bash -c "$PACKCHECK $BUILD" || exit 1
.github/workflows/haskell.yml+9−8
@@ -41,7 +41,7 @@ jobs:
41 # packcheck location and revision
41 # packcheck location and revision
42 PACKCHECK_LOCAL_PATH: "./packcheck.sh"
42 PACKCHECK_LOCAL_PATH: "./packcheck.sh"
43 PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/composewell/packcheck"
43 PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/composewell/packcheck"
44− PACKCHECK_GITHUB_COMMIT: "075e13ab716c67d2110db4905ae42b0280af046d"
44+ PACKCHECK_GITHUB_COMMIT: "a302772c8f3791c477edd1764b82f8d1f5b22fdf"
45
45
46 # Pull token from "secrets" setting of the github repo
46 # Pull token from "secrets" setting of the github repo
47 COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
47 COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
@@ -55,7 +55,7 @@ jobs:
55 matrix:
55 matrix:
56 # The order is important to optimize fail-fast.
56 # The order is important to optimize fail-fast.
57 name:
57 name:
58− - 8.10.7-sdist-fusion-inspection-Werror
58+ - 8.10.7-fusion-inspection-Werror
59 - 9.2.4-docspec
59 - 9.2.4-docspec
60 # - 8.10.7-coverage
60 # - 8.10.7-coverage
61
61
@@ -93,14 +93,14 @@ jobs:
93 doctest: "y"
93 doctest: "y"
94 cabal_version: 3.6.2.0
94 cabal_version: 3.6.2.0
95 cabal_project: cabal.project
95 cabal_project: cabal.project
96+ disable_sdist_build: "y"
96 ignore_error: false
97 ignore_error: false
97 - name: 9.0.2
98 - name: 9.0.2
98 ghc_version: 9.0.2
99 ghc_version: 9.0.2
99 runner: ubuntu-latest
100 runner: ubuntu-latest
100 build: cabal
101 build: cabal
101 cabal_version: 3.6.2.0
102 cabal_version: 3.6.2.0
102− cabal_project: cabal.project.902
103+ cabal_project: cabal.project.streamly
103− disable_sdist_build: "y"
104 ignore_error: true
104 ignore_error: true
105 - name: 8.10.7-sdist-stack
105 - name: 8.10.7-sdist-stack
106 runner: ubuntu-latest
106 runner: ubuntu-latest
@@ -125,12 +125,13 @@ jobs:
125 # coverage: "y"
125 # coverage: "y"
126 # cabal_version: 3.6.2.0
126 # cabal_version: 3.6.2.0
127 # ignore_error: false
127 # ignore_error: false
128− - name: 8.10.7-sdist-fusion-inspection-Werror
128+ - name: 8.10.7-fusion-inspection-Werror
129 ghc_version: 8.10.7
129 ghc_version: 8.10.7
130 runner: ubuntu-latest
130 runner: ubuntu-latest
131 build: cabal
131 build: cabal
132 cabal_version: 3.6.2.0
132 cabal_version: 3.6.2.0
133 cabal_project: cabal.project.Werror
133 cabal_project: cabal.project.Werror
134+ disable_sdist_build: "y"
134 cabal_build_options: "--flag fusion-plugin --flag inspection"
135 cabal_build_options: "--flag fusion-plugin --flag inspection"
135 ignore_error: false
136 ignore_error: false
136 - name: 8.8.4-sdist-fusion
137 - name: 8.8.4-sdist-fusion
@@ -138,7 +139,7 @@ jobs:
138 runner: ubuntu-latest
139 runner: ubuntu-latest
139 build: cabal
140 build: cabal
140 cabal_version: 3.6.2.0
141 cabal_version: 3.6.2.0
141− cabal_project: cabal.project
142+ cabal_project: cabal.project.streamly
142 cabal_build_options: "--flag fusion-plugin"
143 cabal_build_options: "--flag fusion-plugin"
143 ignore_error: false
144 ignore_error: false
144 - name: 8.6.5-sdist-no-fusion-unoptimized
145 - name: 8.6.5-sdist-no-fusion-unoptimized
@@ -146,7 +147,7 @@ jobs:
146 runner: ubuntu-latest
147 runner: ubuntu-latest
147 build: cabal
148 build: cabal
148 cabal_version: 3.6.2.0
149 cabal_version: 3.6.2.0
149− cabal_project: cabal.project
150+ cabal_project: cabal.project.streamly
150 cabal_build_options: "--flag no-fusion --flag -opt"
151 cabal_build_options: "--flag no-fusion --flag -opt"
151 ignore_error: false
152 ignore_error: false
152 - name: 8.6.5-sdist-debug-unoptimized
153 - name: 8.6.5-sdist-debug-unoptimized
@@ -154,7 +155,7 @@ jobs:
154 runner: ubuntu-latest
155 runner: ubuntu-latest
155 build: cabal
156 build: cabal
156 cabal_version: 3.6.2.0
157 cabal_version: 3.6.2.0
157− cabal_project: cabal.project
158+ cabal_project: cabal.project.streamly
158 cabal_build_options: "--flag debug --flag -opt"
159 cabal_build_options: "--flag debug --flag -opt"
159 ignore_error: false
160 ignore_error: false
160
161
.packcheck.ignore+2
@@ -25,6 +25,7 @@ cabal.project.packdiff
25cabal.project.Werror
25cabal.project.Werror
26cabal.project.Werror-nocode
26cabal.project.Werror-nocode
27cabal.project.902
27cabal.project.902
28+cabal.project.streamly
28default.nix
29default.nix
29examples/README.md
30examples/README.md
30hie.yaml
31hie.yaml
@@ -33,3 +34,4 @@ targets/default.nix
33targets/cabal.project
34targets/cabal.project
34test/test-runner/default.nix
35test/test-runner/default.nix
35test/test-runner/cabal.project
36test/test-runner/cabal.project
37+core/
cabal.project.902deleted−23
@@ -1,23 +0,0 @@
1−packages: streamly.cabal
2− , core/streamly-core.cabal
3− , test/streamly-tests.cabal
4− , benchmark/streamly-benchmarks.cabal
5− , docs/streamly-docs.cabal
6−
7−package base-orphans
8− ghc-options: -optlm "--unresolved-symbols=ignore-all"
9−
10−package heaps
11− ghc-options: -optlm "--unresolved-symbols=ignore-all"
12−
13−package network
14− ghc-options: -optlm "--unresolved-symbols=ignore-all"
15−
16−package HUnit
17− ghc-options: -optlm "--unresolved-symbols=ignore-all"
18−
19−package colour
20− ghc-options: -optlm "--unresolved-symbols=ignore-all"
21−
22−package clock
23− ghc-options: -optlm "--unresolved-symbols=ignore-all"
cabal.project.streamlynew file+10
@@ -0,0 +1,10 @@
1+packages: streamly.cabal
2+ , test/streamly-tests.cabal
3+ , benchmark/streamly-benchmarks.cabal
4+ , docs/streamly-docs.cabal
5+
6+source-repository-package
7+ type: git
8+ location: https://github.com/composewell/streamly
9+ tag: master
10+ subdir: core
streamly.cabal−115
@@ -123,121 +123,6 @@ extra-source-files:
123 benchmark/Streamly/Benchmark/Unicode/data/English.txt
123 benchmark/Streamly/Benchmark/Unicode/data/English.txt
124 benchmark/Streamly/Benchmark/Unicode/data/Korean.txt
124 benchmark/Streamly/Benchmark/Unicode/data/Korean.txt
125
125
126− -- Include streamly-core when packaging
127− -- This is temporary as we will soon break this package out
128− core/configure
129− core/configure.ac
130− core/src/assert.hs
131− core/src/config.h.in
132− core/src/inline.hs
133− core/src/Streamly/Internal/Data/Array/ArrayMacros.h
134− core/src/Streamly/Internal/Data/Time/Clock/config-clock.h
135− core/src/Streamly/Internal/BaseCompat.hs
136− core/src/Streamly/Internal/Control/Exception.hs
137− core/src/Streamly/Internal/Control/Monad.hs
138− core/src/Streamly/Internal/Control/ForkIO.hs
139− core/src/Streamly/Internal/Data/Cont.hs
140− core/src/Streamly/Internal/System/IO.hs
141− core/src/Streamly/Internal/Data/IsMap.hs
142− core/src/Streamly/Internal/Data/Tuple/Strict.hs
143− core/src/Streamly/Internal/Data/Maybe/Strict.hs
144− core/src/Streamly/Internal/Data/Either/Strict.hs
145− core/src/Streamly/Internal/Control/Concurrent.hs
146− core/src/Streamly/Internal/Control/ForkLifted.hs
147− core/src/Streamly/Internal/Data/IOFinalizer.hs
148− core/src/Streamly/Internal/Data/Time/TimeSpec.hsc
149− core/src/Streamly/Internal/Data/Time/Units.hs
150− core/src/Streamly/Internal/Data/Time/Clock/Type.hsc
151− core/src/Streamly/Internal/Data/Time/Clock.hs
152− core/src/Streamly/Internal/Data/SVar/Type.hs
153− core/src/Streamly/Internal/Data/Stream/StreamK/Type.hs
154− core/src/Streamly/Internal/Data/Fold/Step.hs
155− core/src/Streamly/Internal/Data/Refold/Type.hs
156− core/src/Streamly/Internal/Data/Fold/Type.hs
157− core/src/Streamly/Internal/Data/Stream/StreamD/Step.hs
158− core/src/Streamly/Internal/Data/Stream/StreamD/Type.hs
159− core/src/Streamly/Internal/Data/Stream/StreamDK/Type.hs
160− core/src/Streamly/Internal/Data/Unfold/Type.hs
161− core/src/Streamly/Internal/Data/Producer/Type.hs
162− core/src/Streamly/Internal/Data/Producer.hs
163− core/src/Streamly/Internal/Data/Producer/Source.hs
164− core/src/Streamly/Internal/Data/Parser/ParserK/Type.hs
165− core/src/Streamly/Internal/Data/Parser/ParserD/Type.hs
166− core/src/Streamly/Internal/Data/Pipe/Type.hs
167− core/src/Streamly/Internal/Data/Unboxed.hs
168− core/src/Streamly/Internal/Data/IORef/Unboxed.hs
169− core/src/Streamly/Internal/Data/Array/Unboxed/Mut/Type.hs
170− core/src/Streamly/Internal/Data/Array/Unboxed/Mut.hs
171− core/src/Streamly/Internal/Data/Array/Unboxed/Type.hs
172− core/src/Streamly/Internal/Data/Array/Mut/Type.hs
173− core/src/Streamly/Internal/Data/Stream/StreamD/Generate.hs
174− core/src/Streamly/Internal/Data/Stream/StreamD/Eliminate.hs
175− core/src/Streamly/Internal/Data/Stream/StreamD/Nesting.hs
176− core/src/Streamly/Internal/Data/Stream/StreamD/Transform.hs
177− core/src/Streamly/Internal/Data/Stream/StreamD/Exception.hs
178− core/src/Streamly/Internal/Data/Stream/StreamD/Lift.hs
179− core/src/Streamly/Internal/Data/Stream/StreamD.hs
180− core/src/Streamly/Internal/Data/Stream/StreamDK.hs
181− core/src/Streamly/Internal/Data/Stream/Common.hs
182− core/src/Streamly/Internal/Data/Parser/ParserD/Tee.hs
183− core/src/Streamly/Internal/Data/Parser/ParserD.hs
184− core/src/Streamly/Internal/Data/Unfold.hs
185− core/src/Streamly/Internal/Data/Unfold/Enumeration.hs
186− core/src/Streamly/Internal/Data/Fold/Tee.hs
187− core/src/Streamly/Internal/Data/Fold.hs
188−
189− core/src/Streamly/Internal/Data/Parser.hs
190− core/src/Streamly/Internal/Data/Pipe.hs
191− core/src/Streamly/Internal/Data/Stream.hs
192− core/src/Streamly/Internal/Data/Stream/Bottom.hs
193− core/src/Streamly/Internal/Data/Stream/Eliminate.hs
194− core/src/Streamly/Internal/Data/Stream/Enumerate.hs
195− core/src/Streamly/Internal/Data/Stream/Exception.hs
196− core/src/Streamly/Internal/Data/Stream/Expand.hs
197− core/src/Streamly/Internal/Data/Stream/Generate.hs
198− core/src/Streamly/Internal/Data/Stream/Lift.hs
199− core/src/Streamly/Internal/Data/Stream/Reduce.hs
200− core/src/Streamly/Internal/Data/Stream/Top.hs
201− core/src/Streamly/Internal/Data/Stream/Transform.hs
202− core/src/Streamly/Internal/Data/Stream/Type.hs
203− core/src/Streamly/Internal/Data/Stream/Zip.hs
204− core/src/Streamly/Internal/Data/List.hs
205− core/src/Streamly/Internal/Data/Array.hs
206− core/src/Streamly/Internal/Data/Array/Unboxed.hs
207− core/src/Streamly/Internal/Data/Array/Unboxed/Stream.hs
208− core/src/Streamly/Internal/Data/Array/Unboxed/Mut/Stream.hs
209− core/src/Streamly/Internal/Data/Array/Unboxed/Stream/Fold.hs
210− core/src/Streamly/Internal/Data/Ring/Unboxed.hs
211− core/src/Streamly/Internal/Data/Ring.hs
212− core/src/Streamly/Internal/Data/Stream/StreamK.hs
213− core/src/Streamly/Data/Stream.hs
214− core/src/Streamly/Data/Fold.hs
215− core/src/Streamly/Data/Fold/Tee.hs
216− core/src/Streamly/Data/Parser.hs
217− core/src/Streamly/Data/Unfold.hs
218− core/src/Streamly/Internal/Data/Fold/Window.hs
219− core/src/Streamly/Data/Unbox.hs
220− core/src/Streamly/Data/Array.hs
221− core/src/Streamly/Data/Array/Unboxed.hs
222− core/src/Streamly/Data/Array/Unboxed/Mut.hs
223− core/src/Streamly/FileSystem/Handle.hs
224− core/src/Streamly/Internal/Data/Binary/Decode.hs
225− core/src/Streamly/Internal/Data/Time/Clock/Darwin.c
226− core/src/Streamly/Internal/Data/Time/Clock/Windows.c
227− core/src/Streamly/Internal/FileSystem/Handle.hs
228− core/src/Streamly/Internal/Unicode/Array/Char.hs
229− core/src/Streamly/Internal/Unicode/Char/Parser.hs
230− core/src/Streamly/Internal/Unicode/Stream.hs
231− core/src/Streamly/Internal/Unicode/String.hs
232− core/src/Streamly/Unicode/Parser.hs
233− core/src/Streamly/Unicode/Stream.hs
234− core/src/Streamly/Unicode/String.hs
235− core/src/Streamly/Console/Stdio.hs
236− core/src/Streamly/Internal/Console/Stdio.hs
237− core/streamly-core.cabal
238− core/jsbits/clock.js
239− core/Setup.hs
240−
241extra-doc-files:
126extra-doc-files:
242 CONTRIBUTING.md
127 CONTRIBUTING.md
243 CHANGELOG.md
128 CHANGELOG.md