Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
95e15aff
Commit
95e15aff
authored
Mar 01, 2014
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing build.sh
parent
df7625e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
20 deletions
+28
-20
build.sh
build.sh
+27
-20
ihaskell-aeson.cabal
ihaskell-display/ihaskell-aeson/ihaskell-aeson.cabal
+1
-0
No files found.
build.sh
View file @
95e15aff
#!/bin/bash
set
-e
#
Recompile ipython-kernel
cd
ipython-kernel
cabal clean
cabal
install
--force-reinstalls
cd
..
#
Verify that we're in the IHaskell directory.
test
-f
"ihaskell.cabal"
# What to install.
INSTALLS
=
""
# Make the profile
cd
profile
...
...
@@ -14,33 +13,41 @@ rm -f profile.tar
tar
-cvf
profile.tar
*
cd
..
# Remove my profile
rm
-rf
~/.ipython/profile_haskell
# Compile dependencies.
if
[
$#
-gt
0
]
;
then
if
[
$1
=
"all"
]
;
then
cd
ghc-parser
;
cabal
install
--force-reinstalls
;
cd
../ghci-lib
;
cabal
install
--force-reinstalls
;
cd
..
;
INSTALLS
=
"
$INSTALLS
ipython-kernel ghc-parser ghci-lib"
fi
fi
# Make ihaskell itself
cabal clean
cabal
install
--force-reinstalls
# Remove my profile
rm
-rf
~/.ipython/profile_haskell
INSTALLS
=
"
$INSTALLS
."
# Install ihaskell-display packages.
if
[
$#
-gt
0
]
;
then
if
[
$1
=
"display"
]
;
then
# Install all the display libraries
cd
ihaskell-display
for
dir
in
`
ls
`
do
cd
$dir
cabal clean
cabal
install
cd
..
INSTALLS
=
"
$INSTALLS
ihaskell-display/
$dir
"
done
cd
..
fi
fi
# Clean all required directories, just in case.
TOP
=
`
pwd
`
for
pkg
in
$INSTALLS
do
cd
./
$pkg
cabal clean
cd
$TOP
done
# Stick a "./" before everything.
INSTALL_DIRS
=
`
echo
$INSTALLS
|
tr
' '
'\n'
|
sed
's#^#./#'
|
tr
' '
'\n'
`
cabal
install
$INSTALL_DIRS
--force-reinstalls
ihaskell-display/ihaskell-aeson/ihaskell-aeson.cabal
View file @
95e15aff
...
...
@@ -62,6 +62,7 @@ library
classy-prelude >=0.7,
aeson,
aeson-pretty,
chunked-data >=0.1,
ihaskell >= 0.3
-- Directories containing source files.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment