blob: b63e06039693e6a5970e7ef1cceaac2a25b1781b [file] [log] [blame]
Leopold Schabel2983d722019-10-23 12:16:42 +02001#!/bin/bash
Leopold Schabel2a2081c2019-10-23 13:33:10 +02002set -euo pipefail
Leopold Schabel2983d722019-10-23 12:16:42 +02003
Leopold Schabel399fe832019-11-15 21:15:30 +01004# Override the intellij_aspect repository to point to our own copy that create_container.sh has applied patches to.
5#
6# The IntelliJ plugin sets the repository using a command line argument, which we need to replace:
7# --override_repository=intellij_aspect=<...>/plugins/ijwb/aspect
8#
9ARGS=$(echo $@ | sed "s%--override_repository=intellij_aspect=[^ ]*%--override_repository=intellij_aspect=${HOME}/.cache/bazel-nxt/ijwb_aspect%")
10
11exec podman exec -it nexantic-dev bazel --output_user_root ${HOME}/.cache/bazel-nxt $ARGS