Sha256: 8288153e3f7cb5ce119a6a142b1546b370e0ba5c61665b8e58295766c46c00d2

Contents?: true

Size: 1.23 KB

Versions: 15

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}"

# 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

export MAKE_ENV=baremetal

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

15 entries across 15 versions & 1 rubygems

Version Path
rimless-1.11.0 config/docker/.bashrc
rimless-1.10.2 config/docker/.bashrc
rimless-1.10.1 config/docker/.bashrc
rimless-1.10.0 config/docker/.bashrc
rimless-1.9.0 config/docker/.bashrc
rimless-1.8.0 config/docker/.bashrc
rimless-1.7.7 config/docker/.bashrc
rimless-1.7.6 config/docker/.bashrc
rimless-1.7.5 config/docker/.bashrc
rimless-1.7.4 config/docker/.bashrc
rimless-1.7.3 config/docker/.bashrc
rimless-1.7.2 config/docker/.bashrc
rimless-1.7.1 config/docker/.bashrc
rimless-1.7.0 config/docker/.bashrc
rimless-1.6.0 config/docker/.bashrc