Skip to content

Commit

Permalink
Various updates
Browse files Browse the repository at this point in the history
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 345300f
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ MYMETA.yml
nytprof.out
pm_to_blib
*.sw?
MYMETA.json
8 changes: 5 additions & 3 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down
26 changes: 19 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions app-parrot-create
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env perl
use Mojolicious::Lite;
use Mojo::Home;

use lib 'lib';
use Parrot::HLL;
use Parrot::Library;

Expand Down
21 changes: 14 additions & 7 deletions templates/index.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -242,4 +249,4 @@
}
};
});
</script>
</script>

0 comments on commit 345300f

Please sign in to comment.