nilac 0.0.3.6 → 0.0.3.7

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.
Files changed (4) hide show
  1. data/bin/nilac +37 -1
  2. data/bin/nilac.rb +37 -1
  3. data/lib/nilac/version.rb +1 -1
  4. metadata +2 -2
data/bin/nilac CHANGED
@@ -1476,7 +1476,7 @@ def compile(input_file_path,*output_file_name)
1476
1476
 
1477
1477
  File.delete(temporary_nila_file)
1478
1478
 
1479
- file_id.write("//Written in Nila 0.0.3.2. Visit http://adhithyan15.github.io/nila\n")
1479
+ file_id.write("//Written in Nila 0.0.3.3. Visit http://adhithyan15.github.io/nila\n")
1480
1480
 
1481
1481
  file_id.write(file_contents.join)
1482
1482
 
@@ -1578,8 +1578,44 @@ def find_file_name(input_path,file_extension)
1578
1578
 
1579
1579
  end
1580
1580
 
1581
+ nilac_version = "0.0.3.7"
1582
+
1581
1583
  opts = Slop.parse do
1582
1584
  on :c, :compile=, 'Compile Nila File', as:Array, delimiter:":"
1585
+ on :h, :help, 'Help With Nilac' do
1586
+
1587
+ puts "Nilac is the official compiler for the Nila language.This is a basic help\nmessage with pointers to more information.\n\n"
1588
+
1589
+ puts " Basic Usage:\n\n"
1590
+
1591
+ puts " nilac -h/--help\n"
1592
+
1593
+ puts " nilac -v/--version\n"
1594
+
1595
+ puts " nilac [command] [file_options]\n\n"
1596
+
1597
+ puts " Available Commands:\n\n"
1598
+
1599
+ puts " nilac -c [nila_file] => Compile Nila File\n\n"
1600
+
1601
+ puts " nilac -c [nila_file]:[output_js_file] => Compile nila_file and saves it as\n output_js_file\n\n"
1602
+
1603
+ puts " nilac -c [nila_file_folder] => Compiles each .nila file in the nila_folder\n\n"
1604
+
1605
+ puts " nilac -c [nila_file_folder]:[output_js_file_folder] => Compiles each .nila\n file in the nila_folder and saves it in the output_js_file_folder\n\n"
1606
+
1607
+ puts " nilac -r [nila_file] => Compile and Run nila_file\n\n"
1608
+
1609
+ puts " Further Information:\n\n"
1610
+
1611
+ puts " Visit http://adhithyan15.github.io/nila to know more about the project."
1612
+
1613
+ end
1614
+ on :v, :version, 'Output Nilac Version No' do
1615
+
1616
+ puts nilac_version
1617
+
1618
+ end
1583
1619
  on :r, :run=, 'Run Nila File', as:Array
1584
1620
  on :m, :buildmac=, 'Build Nilac for Linux/Mac/Rubygems',as:Array
1585
1621
  end
@@ -1474,7 +1474,7 @@ def compile(input_file_path,*output_file_name)
1474
1474
 
1475
1475
  File.delete(temporary_nila_file)
1476
1476
 
1477
- file_id.write("//Written in Nila 0.0.3.2. Visit http://adhithyan15.github.io/nila\n")
1477
+ file_id.write("//Written in Nila 0.0.3.3. Visit http://adhithyan15.github.io/nila\n")
1478
1478
 
1479
1479
  file_id.write(file_contents.join)
1480
1480
 
@@ -1576,8 +1576,44 @@ def find_file_name(input_path,file_extension)
1576
1576
 
1577
1577
  end
1578
1578
 
1579
+ nilac_version = "0.0.3.7"
1580
+
1579
1581
  opts = Slop.parse do
1580
1582
  on :c, :compile=, 'Compile Nila File', as:Array, delimiter:":"
1583
+ on :h, :help, 'Help With Nilac' do
1584
+
1585
+ puts "Nilac is the official compiler for the Nila language.This is a basic help\nmessage with pointers to more information.\n\n"
1586
+
1587
+ puts " Basic Usage:\n\n"
1588
+
1589
+ puts " nilac -h/--help\n"
1590
+
1591
+ puts " nilac -v/--version\n"
1592
+
1593
+ puts " nilac [command] [file_options]\n\n"
1594
+
1595
+ puts " Available Commands:\n\n"
1596
+
1597
+ puts " nilac -c [nila_file] => Compile Nila File\n\n"
1598
+
1599
+ puts " nilac -c [nila_file]:[output_js_file] => Compile nila_file and saves it as\n output_js_file\n\n"
1600
+
1601
+ puts " nilac -c [nila_file_folder] => Compiles each .nila file in the nila_folder\n\n"
1602
+
1603
+ puts " nilac -c [nila_file_folder]:[output_js_file_folder] => Compiles each .nila\n file in the nila_folder and saves it in the output_js_file_folder\n\n"
1604
+
1605
+ puts " nilac -r [nila_file] => Compile and Run nila_file\n\n"
1606
+
1607
+ puts " Further Information:\n\n"
1608
+
1609
+ puts " Visit http://adhithyan15.github.io/nila to know more about the project."
1610
+
1611
+ end
1612
+ on :v, :version, 'Output Nilac Version No' do
1613
+
1614
+ puts nilac_version
1615
+
1616
+ end
1581
1617
  on :r, :run=, 'Run Nila File', as:Array
1582
1618
  on :m, :buildmac=, 'Build Nilac for Linux/Mac/Rubygems',as:Array
1583
1619
  end
@@ -1,3 +1,3 @@
1
1
  module Nilac
2
- VERSION = "0.0.3.6"
2
+ VERSION = "0.0.3.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nilac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.6
4
+ version: 0.0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-25 00:00:00.000000000 Z
12
+ date: 2013-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shark