Skip to content

Commit

Permalink
・サンプルの冒頭部分を最新版に更新
Browse files Browse the repository at this point in the history
  • Loading branch information
opa committed Jun 17, 2011
1 parent e76bcf7 commit 03fe5cf
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 10 deletions.
3 changes: 2 additions & 1 deletion samples/bat2exe.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@goto BATCH_BEGIN & rem vi:set ft=BAT : -*- coding:US-ASCII mode:BAT -*-
@goto BATCH_BEGIN && -*- mode:BAT; coding:US-ASCII; -*-
@ vi:set ft=BAT fenc=US-ASCII :
[exec]
${MY_ININAME}
[end]
Expand Down
7 changes: 4 additions & 3 deletions samples/js2exe.bat
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
@if (0)==(0) echo off & goto BATCH_BEGIN & rem vi:set ft=JavaScript ts=4 : -*- coding:US-ASCII mode:JavaScript -*-
@if (0)==(0) goto BATCH_BEGIN && -*- mode:JavaScript; tab-width:4; coding:US-ASCII; -*-
@ vi:set ft=JavaScript ts=4 fenc=US-ASCII :
[option]
arg = //E:JScript //Nologo "${MY_ININAME}"${ARG}
use_path
[exec]
cscript
[end]
:BATCH_BEGIN
cscript //E:JScript //Nologo "%~dpn0.bat" %*
goto :eof
@ cscript //E:JScript //Nologo "%~dpn0.bat" %*
@ goto :eof
@end
//----------------------------------------------------------------
// Example for wrapexec. Replace your script below.
Expand Down
3 changes: 2 additions & 1 deletion samples/pl2exe.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@rem vi:set ft=Perl ts=4 : -*- coding:US-ASCII mode:Perl -*-
@rem -*- mode:Perl; tab-width:4; coding:US-ASCII; -*-
@rem vi:set ft=perl ts=4 fenc=US-ASCII :
@perl -x -- "%~dpn0.bat" %*
@goto :eof
[option]
Expand Down
3 changes: 2 additions & 1 deletion samples/rb2exe.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@rem vi:set ft=Ruby ts=4 : -*- coding:US-ASCII mode:Ruby -*-
@rem -*- mode:Ruby; tab-width:4; coding:US-ASCII; -*-
@rem vi:set ft=ruby ts=4 fenc=US-ASCII :
@ruby -x -- "%~dpn0.bat" %*
@goto :eof
[option]
Expand Down
3 changes: 2 additions & 1 deletion samples/runbatch.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@echo off & rem vi:set ft=BAT : -*- coding:US-ASCII mode:BAT -*-
@echo off & rem -*- mode:BAT; coding:US-ASCII; -*-
@rem vi:set ft=BAT fenc=US-ASCII :
::----------------------------------------------------------------
rem Example for wrapexec. Replace your batch file below.
::----------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion samples/runjscript.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// vi:set ft=JavaScript ts=4 : -*- coding:US-ASCII mode:JavaScript -*-
// -*- mode:JavaScript; tab-width:4; coding:US-ASCII; -*-
// vi:set ft=JavaScript ts=4 fenc=US-ASCII :
//----------------------------------------------------------------
// Example for wrapexec. Replace your script below.
//----------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion samples/runperl.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /usr/bin/perl
# vi:set ft=Perl ts=4 : -*- coding:US-ASCII mode:Perl -*-
# -*- mode:Perl; tab-width:4; coding:US-ASCII; -*-
# vi:set ft=perl ts=4 fenc=US-ASCII :
#----------------------------------------------------------------
# Example for wrapexec. Replace your script below.
#----------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion samples/runruby.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /usr/bin/ruby
# vi:set ft=Ruby ts=4 : -*- coding:US-ASCII mode:Ruby -*-
# -*- mode:Ruby; tab-width:4; coding:US-ASCII; -*-
# vi:set ft=ruby ts=4 fenc=US-ASCII :
#----------------------------------------------------------------
# Example for wrapexec. Replace your script below.
#----------------------------------------------------------------
Expand Down

0 comments on commit 03fe5cf

Please sign in to comment.