Skip to content

Commit

Permalink
chore: add data trimming task
Browse files Browse the repository at this point in the history
  • Loading branch information
Splode committed Sep 23, 2022
1 parent 3c64552 commit c75c963
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,10 @@ tasks:
- mv data/adverb.tmp data/adverb
- mv data/noun.tmp data/noun
- mv data/verb.tmp data/verb
data:trim:
desc: Trims dictionary data of whitespace
cmds:
- sed -i "/\S/!d" data/adjective
- sed -i "/\S/!d" data/adverb
- sed -i "/\S/!d" data/noun
- sed -i "/\S/!d" data/verb

0 comments on commit c75c963

Please sign in to comment.