Skip to content

Instantly share code, notes, and snippets.

#! /usr/bin/env nix-shell
#! nix-shell -i bash -p autoreconfHook python3 ncurses "(with haskellPackages; [ alex happy hscolour ])" "(with python36Packages; [ sphinx ])"
set -ex
REV=838aeb9b254efb3df7ed0cedeb945ec7c7789c90
BUILD_FLAVOUR=validate
THREADS=7
SKIP_PERF_TESTS=YES
VERBOSE=2
@jmitchell
jmitchell / protobuf_regenerate.sh
Created May 10, 2019 20:15
Regenerate Elixir modules from protobuf schema at the specified URL. Depends on nix package manager.
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p elixir_1_8 erlang protobuf curl
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz
## Adapted from directions at https://github.com/tony612/protobuf-elixir
# lives at ./script/protobuf_regenerate.sh
set -ex