mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
- fork go-wayland/client and modify to make it thread-safe internally - use sync.Map and atomic values in many places to cut down on mutex boilerplate - do not create extworkspace client unless explicitly requested
10 lines
327 B
Bash
Executable File
10 lines
327 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Runs go generate for each directory, but in parallel. Any arguments are appended to the
|
|
# go generate command.
|
|
# Usage: $ ./generatep [go generate arguments]
|
|
# Print all generate commands: $ ./generatep -x
|
|
|
|
cd ./wayland
|
|
find . -type f -name '*.go' -exec dirname {} \; | sort -u | parallel -j 0 go generate $1 {}/.
|