mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
moved benchmarks to nix
This commit is contained in:
parent
d77d8f251d
commit
54ad5d3416
20 changed files with 60 additions and 108 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
||||
set -euxo pipefail
|
||||
|
||||
zig build-exe benchmark/dec.zig -O ReleaseFast --main-pkg-path .
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
set -eux
|
||||
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
||||
set -euxo pipefail
|
||||
|
||||
# Build the compiler for WebAssembly target
|
||||
# We *could* write a build.rs to do this but we'd have nested cargo processes with different targets.
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
# Our website deployment script downloads that zipfile and copies the files into www/build/repl/
|
||||
# We use this two-step process because Netlify times out if we try to build the Web REPL there.
|
||||
|
||||
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
||||
set -euxo pipefail
|
||||
|
||||
if ! which wasm-pack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue