chore: add remove-gettext-conflicts to Justfile
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0cafdbafcd
commit
09c75212b2
1 changed files with 7 additions and 1 deletions
8
Justfile
8
Justfile
|
|
@ -84,4 +84,10 @@ regen-migrations migration_name commit_hash='':
|
||||||
clean:
|
clean:
|
||||||
mix clean
|
mix clean
|
||||||
rm -rf .elixir_ls
|
rm -rf .elixir_ls
|
||||||
rm -rf _build
|
rm -rf _build
|
||||||
|
|
||||||
|
# Remove Git merge conflict markers from gettext files
|
||||||
|
remove-gettext-conflicts:
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
find priv/gettext -type f -exec sed -i '/^<<<<<<< HEAD$/d; /^=======$/d; /^>>>>>>>/d' {} \;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue