shvets-scriptlandia 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +6 -1
- data/lib/configurer.rb +3 -3
- data/scriptlandia-r.gemspec +1 -1
- metadata +1 -1
data/README
CHANGED
@@ -32,6 +32,11 @@ After the installation you have to configure the gem:
|
|
32
32
|
|
33
33
|
You have to enter the location of Java Home and Jar Repository Location, e.g.:
|
34
34
|
|
35
|
+
$ Enter Java Home:
|
36
|
+
$ c:/Java/jdk1.5.0
|
37
|
+
|
38
|
+
$ Enter Repository Home:
|
39
|
+
$ c:/Work/maven-repository
|
35
40
|
|
36
41
|
Now you can run scripts:
|
37
42
|
|
@@ -45,4 +50,4 @@ To install dependencies (jar files) for the language, run this command:
|
|
45
50
|
|
46
51
|
If you have GUI in your script, you can use --wait flag to wait for GUI thread:
|
47
52
|
|
48
|
-
$ sl Hello.bsh --wait
|
53
|
+
$ sl Hello.bsh --wait
|
data/lib/configurer.rb
CHANGED
@@ -15,9 +15,9 @@ module Scriptlandia
|
|
15
15
|
|
16
16
|
prepare()
|
17
17
|
|
18
|
-
install_settings(File.dirname(__FILE__) + "/../" + "lib/settings.yaml", $my_libdir + "
|
18
|
+
install_settings(File.dirname(__FILE__) + "/../" + "lib/settings.yaml", $my_libdir + "/settings.yaml")
|
19
19
|
|
20
|
-
settings = YAML::load File.open($my_libdir + "
|
20
|
+
settings = YAML::load File.open($my_libdir + "/settings.yaml")
|
21
21
|
|
22
22
|
install_file(File.dirname(__FILE__) + "/../bin/sl.bat", $my_bindir, "/sl.bat", settings) if CONFIG['host_os'] =~ /mswin/
|
23
23
|
|
@@ -48,7 +48,7 @@ module Scriptlandia
|
|
48
48
|
$spec = Gem::Specification.load(File.dirname(__FILE__) + "/../" + 'scriptlandia-r.gemspec')
|
49
49
|
|
50
50
|
$my_gem_path = File.join(my_gems_path, CONFIG["MAJOR"]+"."+CONFIG["MINOR"],
|
51
|
-
'gems', $spec.name + '-' + $spec.version.to_s)
|
51
|
+
'gems', 'shvets-' + $spec.name + '-' + $spec.version.to_s)
|
52
52
|
|
53
53
|
$my_libdir = File.join($my_gem_path, 'lib')
|
54
54
|
end
|
data/scriptlandia-r.gemspec
CHANGED