-
Notifications
You must be signed in to change notification settings - Fork 132
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
8 changed files
with
115 additions
and
18 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,19 @@ | ||
Notes about packaging. | ||
|
||
See https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/build-pkgs.html | ||
|
||
(supprimer `http_proxy` && `https_proxy`) | ||
|
||
``` | ||
conda create -n ANACONDA conda-build | ||
``` | ||
|
||
``` | ||
conda activate ANACONDA | ||
conda-build jvarkit | ||
conda install --use-local jvarkit | ||
``` | ||
|
||
``` | ||
conda remove --use-local jvarkit | ||
``` |
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 @@ | ||
export CONDA_BACKUP_JVARKIT_HOME="${JVARKIT_HOME}" | ||
export CONDA_BACKUP_JVARKIT_DIST="${JVARKIT_DIST}" | ||
|
||
|
||
export JVARKIT_HOME=${CONDA_PREFIX} | ||
export JVARKIT_DIST="${JVARKIT_HOME}/dist" | ||
|
||
echo "[INFO] \${JVARKIT_DIST} is set to ${JVARKIT_DIST}. Example 'java -jar \${JVARKIT_DIST}/vcf2table.jar -h'." 1>&2 |
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,16 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -u | ||
|
||
ACTIVATE_DIR=$PREFIX/etc/conda/activate.d | ||
DEACTIVATE_DIR=$PREFIX/etc/conda/deactivate.d | ||
|
||
cp -v $RECIPE_DIR/activate.sh $ACTIVATE_DIR/jvarkit-activate.sh | ||
cp -v $RECIPE_DIR/deactivate.sh $DEACTIVATE_DIR/jvarkit-deactivate.sh | ||
|
||
mkdir -p $PREFIX/dist | ||
./gradlew -Djvarkit.disable.test=true vcfhead vcftail vcffilterjdk vcf2table samjdk bioalcidaejdk vcffilterso sam2tsv mkminibam | ||
mv -v dist/*.jar $PREFIX/dist/ | ||
|
||
|
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,2 @@ | ||
export JVARKIT_HOME="${CONDA_BACKUP_JVARKIT_HOME}" | ||
export JVARKIT_DIST="${CONDA_BACKUP_JVARKIT_DIST}" |
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,19 @@ | ||
package: | ||
name: jvarkit | ||
version: 20200205 | ||
|
||
source: | ||
url: https://github.com/lindenb/jvarkit/archive/20200205.zip | ||
md5: 17956e3c734db5503a67a8325a0091a3 | ||
|
||
requirements: | ||
build: | ||
- openjdk >=8.0 | ||
run: | ||
- openjdk >=8.0 | ||
|
||
|
||
about: | ||
summary: jvarkit "Java utilities for Bioinformatics" | ||
home: https://github.com/lindenb/jvarkit | ||
license : MIT |
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
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
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