forked from wavewave/evchain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
62 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/dist | ||
/deps | ||
/trash | ||
|
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,8 @@ | ||
language: haskell | ||
|
||
env: | ||
global: | ||
secure: "mwW5kGvOQ/QqQTESaaIu1FRLiN7ZOXFTK0YnTCxe5c9jtjK21cqnwf/v961R\nhIhWCu7niN5GpxGFRfJsT22mVqYmTf95UGk/nOoZ+UmEHaLWCoYnnVAXsErS\nXWmb63qRbPnVLoytSmkNWnGVCLtJV823tjnm2iUqAmU7WNy2i2s=" | ||
|
||
install: sh ./builddep.sh | ||
|
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,18 @@ | ||
build { | ||
srcbase = "./deps" | ||
gitrepobase = "https://github.com/wavewave" | ||
} | ||
|
||
|
||
projects = [ "conduit-util" | ||
, "LHCOAnalysis-type" | ||
, "HEPUtil" | ||
, "LHEParser" | ||
, "LHE-sanitizer" | ||
, "madgraph-auto" | ||
, "madgraph-auto-model" | ||
, "webdav-manager" | ||
] | ||
|
||
|
||
|
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,32 @@ | ||
#!/bin/bash | ||
|
||
sudo apt-get install libblas-dev liblapack-dev libgsl0-dev gfortran | ||
cabal install transformers | ||
cabal install hscolour | ||
cabal install hmatrix | ||
|
||
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 | ||
|
||
# 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 | ||
|
||
|
||
# upload documentation | ||
tar cvzf evchain.tar.gz $HOME/.cabal/share/doc/evchain* $HOME/.cabal/share/doc/madgraph-auto* $HOME/.cabal/share/doc/LHE* $HOME/.cabal/share/doc/HEPUtil* $HOME/.cabal/share/doc/LHCOAnalysis* | ||
echo $CR | curl --digest -T evchain.tar.gz -K - $SRVRURL | ||
|
||
# this is needed for checking | ||
cabal install --enable-tests | ||
|
||
|