「IronRuby」の版間の差分

imported>Administrator
imported>Administrator
41行目: 41行目:
4. 出来上がったファイルをコピーする。
4. 出来上がったファイルをコピーする。


※インストール先は「/opt/ironruby」ディレクトリになっているので適宜書き換える。
<source lang="bash">
<source lang="bash">
$ cd bin/Release
$ cd bin/Release
$ for f in *.exe *.dll *.config; do \
$ for f in *.exe *.dll *.config; do \
     install $f /opt/ironruby; \
     install $f /opt/ironruby/lib; \
   done
   done
$ mkdir -p /opt/ironruby/bin
</source>
5. ショートカット用のシェルスクリプトを作っておく。
<source lang="bash">
$ mkdir /opt/ironruby/bin
$ echo '#!/bin/sh'$'\nexec /opt/novell/mono/bin/mono $MONO_OPTIONS "/opt/ironruby/lib/ir.exe" "$@"' > /opt/ironruby/bin/ir
$ chmod 755 /opt/ironruby/bin/ir
</source>
</source>