Skip to content

All of the code examples put into a mix project, with tests and a task called acts as an IO.inspect(all/debugger)

Notifications You must be signed in to change notification settings

md-vanilla/macro_code_from_book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacroCodeFromBook

Metaprogramming Elixir

Installation

git clone https://github.com/MichaelDimmitt/macro_code_from_book.git
cd macro_code_from_book
dir=$(pwd)
ln -s $dir/lib/mix/tasks/all.ex $dir/all.ex

run all the tests: mix test

run the mix task all: mix all

Predict the future:

This project has tests, This project has a mix task named "all"

Future stuff.

On the to-do, figure out how to get tests to IO.inspect or debug instead of making the assertion, just tell either the left side or the right side for all tests. I know it will be slower but it will be cool!

About

All of the code examples put into a mix project, with tests and a task called acts as an IO.inspect(all/debugger)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages