Skip to content

Commit

Permalink
use an array to get mirahc in the gem closes #278
Browse files Browse the repository at this point in the history
the gemspec is loaded when rake is loaded, and at that point the dist file isn't created. Dir::[] returns an empty array if nothing matches, so the first gem call will fail. This fixes that
  • Loading branch information
baroquebobcat committed Feb 18, 2015
1 parent cd96cda commit 1980e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirah.gemspec
Expand Up @@ -3,7 +3,7 @@ $: << './lib'
require 'mirah/version'

files = Dir["{bin,lib,test,examples}/**/*"] \
+ Dir['dist/mirahc.jar'] \
+ ['dist/mirahc.jar'] \
+ Dir["{*.md,*.txt,Rakefile}"] \
- Dir["{examples/wiki/**/*}"]

Expand Down

0 comments on commit 1980e6d

Please sign in to comment.