-
Notifications
You must be signed in to change notification settings - Fork 6
/
README.txt
61 lines (36 loc) · 1.19 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
= README
release:: 0.7.2
lastupdate:: $Date$
copyright:: copyright(c) 2005-2010 kuwata-lab all rights reserved.
== Introduction
Kwalify is a parser, schema validator, and data binding tool for
YAML and JSON.
See doc/users-guide.html for details.
== Installation
If you have installed RubyGems, just type 'gem install kwalify'
$ sudo gem install kwalify
Else if you can be root user, use 'setup.rb' as following:
$ tar xjf kwalify-0.7.2.tar.bz2
$ cd kwalify-0.7.2/
$ sudo ruby setup.rb install
Else copy script and libraries to proper directory.
$ tar xjf kwalify-0.7.2.tar.bz2
$ cd kwalify-0.7.2/
$ mkdir -p $HOME/bin
$ cp -a bin/* $HOME/bin
$ export PATH=$PATH:$HOME/bin
$ mkdir -p $HOME/lib/ruby
$ cp -a lib/* $HOME/lib/ruby
$ export RUBYLIB=$HOME/lib/ruby
(Optional) 'contrib/inline-require' script to concatenate all script
and libraries into a file.
$ tar xjf kwalify-0.7.2.tar.bz2
$ cd kwalify-0.7.2/
$ unset RUBYLIB
$ ruby contrib/inline-require -I ./lib bin/kwalify > contrib/kwalify
$ chmod a+x contrib/kwalify
$ mv contrib/kwalify $HOME/bin
== License
MIT License
== Copyright
copyright(c) 2005-2010 kuwata-lab all rights reserved.