allow extracting to a sub-directory. install devkit with ruby

This commit is contained in:
Luke Sampson 2013-08-26 10:10:59 +10:00
parent 197d6e3d3d
commit dc04d85767

View File

@ -3,15 +3,29 @@
"version": "2.0.0-p247",
"architecture": {
"64bit": {
"url": "http://dl.bintray.com/oneclick/rubyinstaller/ruby-2.0.0-p247-x64-mingw32.7z?direct#/dl.7z",
"hash": "2c3399a96c9c2f3fe6bce1ad6e569e7534fd36318b6ca0077026e3c077172afe",
"url": [
"http://dl.bintray.com/oneclick/rubyinstaller/ruby-2.0.0-p247-x64-mingw32.7z?direct#/dl.7z",
"http://rubyforge.org/frs/download.php/76808/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe#/dl2.7z"
],
"hash": [
"2c3399a96c9c2f3fe6bce1ad6e569e7534fd36318b6ca0077026e3c077172afe",
"2ada04c7234199126c0f34f6ea7163a8f8dccb1e15814af175a189f6ac48b8ac"
],
"extract_dir": "ruby-2.0.0-p247-x64-mingw32"
},
"32bit": {
"url": "http://dl.bintray.com/oneclick/rubyinstaller/ruby-2.0.0-p247-i386-mingw32.7z?direct#/dl.7z",
"hash": "ac4c80b23623449f31aaa908818d48c504f4c364c2a2e127a9ae8d2fae5f99e4",
"url": [
"http://dl.bintray.com/oneclick/rubyinstaller/ruby-2.0.0-p247-i386-mingw32.7z?direct#/dl.7z",
"http://rubyforge.org/frs/download.php/76805/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe#/dl2.7z"
],
"hash": [
"ac4c80b23623449f31aaa908818d48c504f4c364c2a2e127a9ae8d2fae5f99e4",
"61a06b5da06dd94343e591163ac0d43c544e9cd4df770f01275645b268b44dc7"
],
"extract_dir": "ruby-2.0.0-p247-i386-mingw32"
}
},
"env_add_path": "bin"
"extract_to": [ "", "devkit" ],
"env_add_path": "bin",
"post_install": "pushd $dir\\devkit;ruby dk.rb init > $null;echo \"- $dir\" | out-file config.yml -a -enc default; ruby dk.rb install;popd;"
}