From bef8d81e1cbd48c6173c8f0fa81f5bc3f4a036b8 Mon Sep 17 00:00:00 2001 From: DriesSchaumont <5946712+DriesSchaumont@users.noreply.github.com> Date: Thu, 18 Jan 2024 14:19:07 +0100 Subject: [PATCH] Remove bin folder --- bin/init | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100755 bin/init diff --git a/bin/init b/bin/init deleted file mode 100755 index 08d2a3c..0000000 --- a/bin/init +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -PROGNAME=${0##*/} -usage() { - echo "Usage: ${PROGNAME} [-n] [-h]" -} - -help_message() { - cat <<- EOF - ${PROGNAME} - - Download nextflow and viash binaries into the 'bin' folder - $(usage) - Options: - -n Download viash only. - -h Display this help message and exit. - EOF -} - -only_viash=false -while getopts ":hn" opt; do - case ${opt} in - h ) help_message - exit 0; - ;; - n ) only_viash=true - ;; - \? ) >&2 echo "Invalid Option: -${OPTARG}" 1>&2 - help_message - exit 1; - ;; - : ) - >&2 echo "Invalid Option: -${OPTARG} requires an argument" 1>&2 - help_message - exit 1 - ;; - esac -done - - -# get the root of the directory -REPO_ROOT=$(git rev-parse --show-toplevel) - -# ensure that the command below is run from the root of the repository -cd "$REPO_ROOT" - -curl -fsSL get.viash.io | bash -s -- \ - --registry ghcr.io \ - --organisation viash-io \ - --target_image_source https://github.com/viash-io/viashpy.git \ - --tag develop -