This repository was archived by the owner on Feb 3, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +28
-20
lines changed Expand file tree Collapse file tree 4 files changed +28
-20
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,10 @@ macOsFromConfig BuildConfig{..} = OS{..}
138
138
, out
139
139
]
140
140
141
+
141
142
hpPkgFile %> \ out -> do
142
- need [targetDir, dir extrasDir] -- FIXME(mzero): could be more specific
143
+ need [targetDir]
144
+ need [dir extrasDir] -- FIXME(mzero): could be more specific
143
145
command_ []
144
146
" pkgbuild"
145
147
[ " --identifier" , " org.haskell.HaskellPlatform.Libraries."
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ packageRules = do
64
64
-- Having the package names reverse sort as graph keys makes the SCC
65
65
-- components come out closer to normal sort order. Go figure!
66
66
67
+ -- TODO choose proper "allPackages" based on minimal or full build
67
68
68
69
installAction :: FilePath -> Bool -> Release -> Action ()
69
70
installAction depFile incExtras hpRel = do
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ hp_8_0_1 =
106
106
, incLib " fixed" " 0.2.1.1"
107
107
]
108
108
109
+
109
110
hp_8_0_2 :: Release
110
111
hp_8_0_2 =
111
112
releaseWithMinimal " 8.0.2"
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+
4
+ # for OS X in particular
5
+ export MACOSX_DEPLOYMENT_TARGET=10.6
6
+
3
7
set -e
4
8
5
- HPTOOL=hptool/dist/build/hptool/hptool
9
+ HPTOOL=hptool/dist-newstyle/build/hptool-0.1 /build/hptool/hptool
6
10
HPTOOL_ALT=hptool/.cabal-sandbox/bin/hptool
7
11
8
- if ( cabal sandbox --help > /dev/null 2>&1 ) ; then
9
- if [ \! -d hptool/.cabal-sandbox ]
10
- then
11
- echo ' ***'
12
- echo ' *** Setting up sandbox for hptool'
13
- echo ' ***'
14
- cabal update
15
- (cd hptool; cabal sandbox init; cabal install --only-dependencies)
16
- fi
17
- else
18
- if ( cabal install --dry-run --only-dependencies | grep -q ' would be installed' ) ; then
19
- echo ' === pre-requisite packages for hptool are not installed'
20
- echo ' run the following:'
21
- echo ' cd hptool ; cabal install --only-dependencies'
22
- exit 1
23
- fi
24
- fi
12
+ # if ( cabal sandbox --help >/dev/null 2>&1 ) ; then
13
+ # if [ \! -d hptool/.cabal-sandbox ]
14
+ # then
15
+ # echo '***'
16
+ # echo '*** Setting up sandbox for hptool'
17
+ # echo '***'
18
+ # cabal update
19
+ # (cd hptool; cabal sandbox init; cabal install --only-dependencies)
20
+ # fi
21
+ # else
22
+ # if ( cabal install --dry-run --only-dependencies | grep -q 'would be installed' ) ; then
23
+ # echo '=== pre-requisite packages for hptool are not installed'
24
+ # echo ' run the following:'
25
+ # echo ' cd hptool ; cabal install --only-dependencies'
26
+ # exit 1
27
+ # fi
28
+ # fi
25
29
26
30
echo ' ***'
27
31
echo ' *** Building hptool'
28
32
echo ' ***'
29
- (cd hptool; cabal build)
33
+ (cd hptool; cabal new- build)
30
34
31
35
if [ " $HPTOOL_ALT " -nt " $HPTOOL " ] ; then
32
36
HPTOOL=" $HPTOOL_ALT "
You can’t perform that action at this time.
0 commit comments