Permalink
Browse files

Various updates

Notably: use the code in ./lib before the installed version, which is
essential for running tests on the changed code in the repo, instead of
the installed version.

Other changes include tweaking the front-page blurb and adding more
installation instructions to the README.
  • Loading branch information...
leto committed Sep 20, 2013
1 parent c32444a commit 345300f1bbdbcb5e5d8fcca08be6507f5f27d719
Showing with 41 additions and 17 deletions.
  1. +1 −0 .gitignore
  2. +5 −3 Makefile.PL
  3. +19 −7 README.md
  4. +2 −0 app-parrot-create
  5. +14 −7 templates/index.html.ep
View
@@ -16,3 +16,4 @@ MYMETA.yml
nytprof.out
pm_to_blib
*.sw?
+MYMETA.json
View
@@ -16,14 +16,16 @@ WriteMakefile(
'YAML' => 0,
'Archive::Zip' => 0,
'Mojolicious::Plugin::RenderFile' => '0.01',
- 'Try::Tiny' => '0.16',
+ 'Try::Tiny' => '0.16',
'Mojolicious::Plugin::YamlConfig' => '0.1.5',
'Template' => '2.23'
},
- BUILD_REQUIRES => {'Test::Most' => 0},
+ BUILD_REQUIRES => {
+ 'Test::Most' => 0
+ },
META_MERGE =>{
resources => {
- repository => 'http://github.com/leto/app-parrot-create',
+ repository => 'http://github.com/letolabs/app-parrot-create',
},
},
test => {TESTS => 't/*.t'}
View
@@ -1,17 +1,29 @@
-# Depending on #
+# App::Parrot::Create
+
+# Depends on
Mojolicious
Mojolicious::Plugin::YamlConfig
Mojolicious::Plugin::RenderFile
-# INSTALL #
- perl Makefile.PL
- make
-
-# TEST #
+
+# Installing Dependencies
+
+With cpanminus
+
+ cpanm --installdeps .
+
+# Running tests
+
make test
-# CLEAR #
+# Cleaning up
+
make clean
+
+# INSTALL
+
+ perl Makefile.PL
+ make install
# RUN #
perl app-parrot-create daemon
View
@@ -1,6 +1,8 @@
#!/usr/bin/env perl
use Mojolicious::Lite;
use Mojo::Home;
+
+use lib 'lib';
use Parrot::HLL;
use Parrot::Library;
View
@@ -2,18 +2,18 @@
<div class="masthead">
<ul class="nav nav-pills pull-right">
- <li id="newlang" class="active"><a href="#">High Level Language</a></li>
- <li id="newlib"><a href="#">Parrot Library</a></li>
+ <li id="newlang" class="active"><a href="#">Language</a></li>
+ <li id="newlib"><a href="#">Library</a></li>
</ul>
- <h3 class="muted">Parrot creater</h3>
+ <h3 class="muted">Parrot Creator</h3>
</div>
<hr>
<div id="newlib-content" class="row-fluid" style="display: none" >
<div id="newlib-info" class="span8 hero-unit column">
<h1>Parrot library</h1>
- <p>Libraries are precompiled code files that can be loaded into Parrot.
+ <p>Libraries are pre-compiled code files that can be loaded into Parrot.
A lot of examples allow easily create your own solutions.
</p>
<p><a href="http://docs.parrot.org/parrot/devel/html/docs/book/draft/chXX_library.pod.html" class="btn btn-primary btn-large">Learn more &raquo;</a></p>
@@ -64,8 +64,15 @@
<div id="newlang-info" class="span8 hero-unit column">
<h1>High Level Language</h1>
<p>
- Parrot VM is providing powerful tools to make writing a compiler childishly easy.
- Parrot Compiler Toolkit making Parrot an interesting target for language developers.
+
+ Parrot Virtual Machine is a collection of powerful tools to make
+ writing a compiler or Domain Specific Language (DSL) as easy as
+ possible.
+
+ The Parrot Compiler Toolkit (PCT) is a collection of tools for
+ language developers that provide various "pluggable" defaults.
+ For example, there is a default garbage collector, but you can
+ provide your own.
<p>
<a href="http://en.wikibooks.org/wiki/Parrot_Virtual_Machine/Squaak_Tutorial" class="btn btn-primary btn-large">Learn more &raquo;</a></p>
</div>
@@ -242,4 +249,4 @@
}
};
});
-</script>
+</script>

0 comments on commit 345300f

Please sign in to comment.