Commit c7d1f4e
minitest.c → gol.c
@@ -4,7 +4,7 @@
int tests_run = 0;
int foo = 7;
-int bar = 4;
+int bar = 5;
static char * test_foo() {
mu_assert("error, foo != 7", foo == 7);
Rakefile
@@ -0,0 +1,13 @@
+task :default => :test
+
+task :clean do
+ "rm *.out"
+end
+
+task :build => :clean do
+ sh "gcc gol.c"
+end
+
+task :test => :build do
+ sh "./a.out"
+end