Skip to content

Commit

Permalink
Added a dummy make script for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jkutner committed Dec 3, 2015
1 parent 2aa431b commit 5dfbdea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
install:
EOF

# If Windows doesn't have a `make` command this ext will fail.
# But we don't really need to compile anything, do fake it.
File.write('make.bat', <<EOF)
@ECHO off
ECHO Done
EOF

bindir = RbConfig::CONFIG['bindir']
arch = "#{ENV_JAVA['os.arch']}-#{ENV_JAVA['os.name']}"

Expand Down

0 comments on commit 5dfbdea

Please sign in to comment.