Skip to content

Instantly share code, notes, and snippets.

What would you like to do? helper for the elixir track - runs all the scripts
@rem fix a.test.exs
@rem removes the pending tag from the test and adds _2 to filename
@echo %1 | sed -e "s/.exs/_2.exs/" > temp.txt
@set /p Filename=<temp.txt
@cat %1 | grep -v "@tag :pending" > %Filename%
@rm temp.txt
elixir %Filename%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment