mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
dev - move gource instructions from docs to development script
This commit is contained in:
parent
869c83fd2c
commit
59f18e3207
25
docs/development-visualization.md → development/gource-viz.sh
Normal file → Executable file
25
docs/development-visualization.md → development/gource-viz.sh
Normal file → Executable file
@ -1,25 +1,16 @@
|
|||||||
### Generate Development Visualization
|
#!/usr/bin/env bash
|
||||||
|
set -x
|
||||||
|
|
||||||
This will generate a video of the repo commit history.
|
|
||||||
|
|
||||||
Install preqs:
|
|
||||||
```
|
|
||||||
brew install gource
|
|
||||||
brew install ffmpeg
|
|
||||||
```
|
|
||||||
|
|
||||||
From the repo dir, pipe `gource` into `ffmpeg`:
|
|
||||||
```
|
|
||||||
gource \
|
gource \
|
||||||
--seconds-per-day .1 \
|
--seconds-per-day .025 \
|
||||||
--user-scale 1.5 \
|
--user-scale 1.5 \
|
||||||
--default-user-image "./images/icon-512.png" \
|
--default-user-image "./images/icon-512.png" \
|
||||||
--viewport 1280x720 \
|
--viewport 1280x720 \
|
||||||
--auto-skip-seconds .1 \
|
--auto-skip-seconds .05 \
|
||||||
--multi-sampling \
|
--multi-sampling \
|
||||||
--stop-at-end \
|
|
||||||
--highlight-users \
|
--highlight-users \
|
||||||
--hide mouse,progress \
|
--hide mouse,progress,filenames \
|
||||||
|
--dir-name-depth 2 \
|
||||||
--file-idle-time 0 \
|
--file-idle-time 0 \
|
||||||
--max-files 0 \
|
--max-files 0 \
|
||||||
--background-colour 000000 \
|
--background-colour 000000 \
|
||||||
@ -30,6 +21,4 @@ gource \
|
|||||||
--title "MetaMask Development History" \
|
--title "MetaMask Development History" \
|
||||||
--output-ppm-stream - \
|
--output-ppm-stream - \
|
||||||
--output-framerate 30 \
|
--output-framerate 30 \
|
||||||
| ffmpeg -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K metamask-dev-history.mp4
|
| ffmpeg -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K metamask-dev-history.mp4
|
||||||
```
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user