Skip to content

Instantly share code, notes, and snippets.

@kaushikcfd
Last active June 8, 2022 01:43
Show Gist options
  • Save kaushikcfd/36411f826e78260d2702fa822a06728c to your computer and use it in GitHub Desktop.
Save kaushikcfd/36411f826e78260d2702fa822a06728c to your computer and use it in GitHub Desktop.
743a744,762
>
> # {{{ change meshmode requirements.txt
>
> if [[ "$proj_name" = "mirgecom" ]]; then
> sed -i "s/inducer\/meshmode.git/kaushikcfd\/meshmode.git@with_array_context/g" requirements.txt
> fi
>
> if [[ "$proj_name" = "grudge" ]]; then
> sed -i "s/inducer\/meshmode.git/kaushikcfd\/meshmode.git@with_array_context/g" requirements.txt
> fi
>
>
> if [[ "$proj_name" = "mirgecom_examples" ]]; then
> sed -i "s/inducer\/meshmode.git/kaushikcfd\/meshmode.git@with_array_context/g" requirements.txt
> fi
>
> # }}}
>
> cat requirements.txt
766a786,787
> elif [[ "$downstream_url" == "meshmode" ]]; then
> proj_url="https://github.com/kaushikcfd/$downstream_url.git@with_array_context"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment