-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1164 from kmuto/updater
review-update
- Loading branch information
Showing
6 changed files
with
1,024 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env ruby | ||
# | ||
# Copyright (c) 2018 Kenshi Muto | ||
# | ||
# This program is free software. | ||
# You can distribute or modify this program under the terms of | ||
# the GNU LGPL, Lesser General Public License version 2.1. | ||
# For details of the GNU LGPL, see the file "COPYING". | ||
|
||
require 'pathname' | ||
|
||
bindir = Pathname.new(__FILE__).realpath.dirname | ||
$LOAD_PATH.unshift((bindir + '../lib').realpath) | ||
|
||
require 'review/update' | ||
|
||
if File.basename($PROGRAM_NAME) == File.basename(__FILE__) | ||
ReVIEW::Update.execute(*ARGV) | ||
end |
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
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
Oops, something went wrong.