Skip to content

Commit

Permalink
First step towards extending bashlets-install.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Reale committed Apr 23, 2018
1 parent b5b3327 commit 77da586
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/bashlets-install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -x

################################################################################
#
Expand Down Expand Up @@ -201,11 +202,14 @@ function install_deps()

function install_local()
{
local prefix="$1"
local module
local path
local rev
local destinations

# if there is a `packages` folder, then use a recursive approach XXX
[[ -e packages ]] && { find packages -name package.json ; exit ; }

## install deps
[[ -n $dont_install_deps ]] || install_deps $module
Expand Down

0 comments on commit 77da586

Please sign in to comment.