Skip to content

Loading…

Add Makefile for backward compatibility of shell build processes. #651

Merged
merged 1 commit into from

4 participants

@bovi
mruby member

I just created a makefile so that mruby can still be build by the "normal unix method" make, make test, make clean. I of course only call minirake.

@matz matz merged commit 2b700d3 into mruby:master

1 check passed

Details default The Travis build passed
@mattn

It's better to be RAKE = ruby ./minirake for windows.

@masuidrive

Good idea!

@matz
mruby member

Indeed. fixed by 4b19fd9

@bovi bovi deleted the Bovi-Li:make-rake branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 21 additions and 0 deletions.
  1. +21 −0 Makefile
View
21 Makefile
@@ -0,0 +1,21 @@
+# mruby is using Rake (http://rake.rubyforge.org) as a build tool.
+# We provide a minimalistic version called minirake inside of our
+# codebase.
+
+RAKE = ./minirake
+
+.PHONY : all
+all :
+ $(RAKE)
+
+.PHONY : test
+test :
+ $(RAKE) test
+
+.PHONY : clean
+clean :
+ $(RAKE) clean
+
+.PHONY : showconfig
+showconfig :
+ $(RAKE) showconfig
Something went wrong with that request. Please try again.