step10
This commit is contained in:
@@ -7,8 +7,8 @@ binary blobs. [Forum post goes with this][1].
|
||||
Clone zig and prune binary files from history:
|
||||
|
||||
```
|
||||
$ git clone https://github.com/ziglang/zig zig-nobinaries
|
||||
$ cd zig-nobinaries
|
||||
$ git clone https://github.com/ziglang/zig zig2
|
||||
$ cd zig2
|
||||
$ git filter-repo --prune-empty=never --prune-degenerate never --invert-paths --path-glob 'stage1/zig1.wasm*' --path stage1/zig1.c
|
||||
```
|
||||
|
||||
@@ -19,7 +19,7 @@ $ docker build -t zig-repro .
|
||||
$ docker run -ti --rm \
|
||||
-v ~/code:/x \
|
||||
-v /home/$USER/.cache/zig:/home/$USER/.cache/zig \
|
||||
-w /x/zig-nobinaries \
|
||||
-w /x/zig2 \
|
||||
zig-repro \
|
||||
sh -c "useradd -s /bin/bash -u $UID $USER && su $USER; bash"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user