Sha256: 99973954c69421c9410d5f588699fd1b7a3fc304987190a4fa2cc8835acc441c

Contents?: true

Size: 1.23 KB

Versions: 105

Compression:

Stored size: 1.23 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 ! (sudo supervisorctl status | grep avahi) >/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

105 entries across 105 versions & 10 rubygems

Version Path
immoscout-1.9.0 config/docker/.bashrc
factory_bot_instrumentation-1.7.0 config/docker/.bashrc
conversejs-3.10.0 config/docker/.bashrc
pricehubble-1.6.0 config/docker/.bashrc
keyless-1.7.0 config/docker/.bashrc
grape-jwt-authentication-2.8.0 config/docker/.bashrc
billomat-1.5.0 config/docker/.bashrc
countless-1.5.0 config/docker/.bashrc
jabber_admin-1.6.0 config/docker/.bashrc
alarmable-1.6.0 config/docker/.bashrc
conversejs-3.9.0 config/docker/.bashrc
keyless-1.6.1 config/docker/.bashrc
pricehubble-1.5.1 config/docker/.bashrc
jabber_admin-1.5.1 config/docker/.bashrc
immoscout-1.8.1 config/docker/.bashrc
grape-jwt-authentication-2.7.1 config/docker/.bashrc
factory_bot_instrumentation-1.6.1 config/docker/.bashrc
billomat-1.4.1 config/docker/.bashrc
alarmable-1.5.1 config/docker/.bashrc
conversejs-3.8.1 config/docker/.bashrc