Sha256: daaedeefa8a77a1cd480239a49bcdf6b6d885c4cac2fe9e1f2334ce60747e926

Contents?: true

Size: 1.21 KB

Versions: 22

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

# 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

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

22 entries across 22 versions & 1 rubygems

Version Path
rimless-1.5.1 config/docker/.bashrc
rimless-1.5.0 config/docker/.bashrc
rimless-1.4.2 config/docker/.bashrc
rimless-1.4.1 config/docker/.bashrc
rimless-1.4.0 config/docker/.bashrc
rimless-1.3.0 config/docker/.bashrc
rimless-1.2.0 config/docker/.bashrc
rimless-1.1.1 config/docker/.bashrc
rimless-1.1.0 config/docker/.bashrc
rimless-1.0.4 config/docker/.bashrc
rimless-1.0.3 config/docker/.bashrc
rimless-1.0.2 config/docker/.bashrc
rimless-1.0.1 config/docker/.bashrc
rimless-1.0.0 config/docker/.bashrc
rimless-0.3.0 config/docker/.bashrc
rimless-0.2.1 config/docker/.bashrc
rimless-0.2.0 config/docker/.bashrc
rimless-0.1.4 config/docker/.bashrc
rimless-0.1.3 config/docker/.bashrc
rimless-0.1.2 config/docker/.bashrc