Sha256: 1f064b1f6a62d356ea228c4092675d07b605556cf226935b26f8623d434418fd

Contents?: true

Size: 1.21 KB

Versions: 43

Compression:

Stored size: 1.21 KB

Contents

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

_GEM_PATHS=$(ls -d1 ${HOME}/.gem/ruby/*/bin 2>/dev/null | paste -sd ':')
_APP_PATHS=$(ls -d1 /app/vendor/bundle/ruby/*/bin 2>/dev/null | paste -sd ':')

export PATH="${_GEM_PATHS}:${_APP_PATHS}:${PATH}"
export PATH="/app/node_modules/.bin:${HOME}/.bin:/app/bin:${PATH}"
export MAKE_ENV=baremetal

# Disable the autostart of all supervisord units
sudo sed -i 's/autostart=.*/autostart=false/g' /etc/supervisor/conf.d/*

# Start the supervisord (empty, no units)
sudo supervisord >/dev/null 2>&1 &

# Wait for supervisord
while ! supervisorctl status >/dev/null 2>&1; do sleep 1; done

# Boot the mDNS stack
echo '# Start the mDNS stack'
sudo supervisorctl start dbus avahi
echo

function watch-make-test()
{
  while [ 1 ]; do
    inotifywait --quiet -r `pwd` -e close_write --format '%e -> %w%f'
    make test
  done
}

function watch-make()
{
  while [ 1 ]; do
    inotifywait --quiet -r `pwd` -e close_write --format '%e -> %w%f'
    make $@
  done
}

function watch-run()
{
  while [ 1 ]; do
    inotifywait --quiet -r `pwd` -e close_write --format '%e -> %w%f'
    bash -c "$@"
  done
}

Version data entries

43 entries across 43 versions & 10 rubygems

Version Path
factory_bot_instrumentation-1.1.5 config/docker/.bashrc
grape-jwt-authentication-2.3.0 config/docker/.bashrc
factory_bot_instrumentation-1.1.4 config/docker/.bashrc
factory_bot_instrumentation-1.1.3 config/docker/.bashrc
factory_bot_instrumentation-1.1.2 config/docker/.bashrc
factory_bot_instrumentation-1.1.1 config/docker/.bashrc
factory_bot_instrumentation-1.1.0 config/docker/.bashrc
grape-jwt-authentication-2.2.0 config/docker/.bashrc
immoscout-1.5.0 config/docker/.bashrc
jabber_admin-1.2.0 config/docker/.bashrc
keyless-1.2.0 config/docker/.bashrc
pricehubble-1.1.0 config/docker/.bashrc
countless-1.2.0 config/docker/.bashrc
conversejs-3.5.0 config/docker/.bashrc
billomat-1.1.0 config/docker/.bashrc
alarmable-1.1.0 config/docker/.bashrc
factory_bot_instrumentation-1.0.2 config/docker/.bashrc
factory_bot_instrumentation-1.0.1 config/docker/.bashrc
grape-jwt-authentication-2.1.0 config/docker/.bashrc
keyless-1.1.0 config/docker/.bashrc