Skip to content

Commit

Permalink
adding INSTALL
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacozzuto committed Jun 5, 2018
1 parent 3ec01e4 commit 47099fa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions INSTALL.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env sh

# Check pipeline dependency
bionext_ver="0.3"

# Check presence of a lib
if [ -d "lib" ]; then {
echo "BioNextflow installed"
} else {
echo "BioNextflow not installed. Installing it..."
wget https://github.com/biocorecrg/BioNextflow/archive/${bionext_ver}.tar.gz
tar -zvxf ${bionext_ver}.tar.gz
mv "BioNextflow-${bionext_ver}/lib" .
rm ${bionext_ver}.tar.gz
rm -fr BioNextflow-${bionext_ver}
}
fi



0 comments on commit 47099fa

Please sign in to comment.