Created
July 8, 2011 09:04
-
-
Save nurse/1071401 to your computer and use it in GitHub Desktop.
To merge json gem to ruby repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# you should merge https://github.com/nurse/json/tree/fix-extconf before merging | |
dest=$1 | |
cp -R lib/* $dest/ext/json/lib | |
cp -R ext/json/ext/* $dest/ext/json | |
cp -R tests/* $dest/test/json | |
cd $dest/ext/json/lib/json/ | |
rm -rf *.xpm pure* ext editor.rb add/rails.rb |
nobu
commented
Jul 8, 2011
- cdしてからrmすれば{}不要
- 決め打ちのフルパスが散らばってるのはうれしくない
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment