-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuilddep.sh
More file actions
30 lines (20 loc) · 781 Bytes
/
builddep.sh
File metadata and controls
30 lines (20 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
cabal install transformers
cabal install hscolour
mkdir deps
git clone https://github.com/wavewave/devadmin.git deps/devadmin
cd deps/devadmin ; cabal install --force-reinstalls ; cd ../../
$HOME/.cabal/bin/build cloneall --config=build.conf
#cabal install gtk2hs-buildtools
# for dep installation
$HOME/.cabal/bin/build bootstrap --config=build.conf
# for documentation of dep packages
$HOME/.cabal/bin/build haddockboot --config=build.conf
# for documentation of this package
cabal install --enable-documentation
cabal haddock --hyperlink-source
cabal copy
tar cvzf webdav-manager.tar.gz $HOME/.cabal/share/doc/webdav-manager*
echo $CR | curl --digest -T webdav-manager.tar.gz -K - $SRVRURL
# this is needed for checking
cabal install --enable-tests