Skip to content

Commit

Permalink
- Make examples executables on *nix
Browse files Browse the repository at this point in the history
- example script now use .p6 extension
- Add instructions for Debian Linux package installation
  • Loading branch information
azawawi committed Nov 11, 2015
1 parent 1c1a8cc commit fe6a42c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -3,3 +3,8 @@ Here be GTK::Simple!
## Installation

This modules requires GTK3 library to be installed.

To install it on Debian Linux:
```
sudo apt-get install libgtk-3-dev
```
4 changes: 4 additions & 0 deletions examples/01_hello_world.pm6 → examples/01_hello_world.p6 100644 → 100755
@@ -1,3 +1,7 @@
#!/usr/bin/env perl6

use v6;
use lib 'lib';
use GTK::Simple;

=comment
Expand Down
4 changes: 4 additions & 0 deletions examples/02_toggles.pm6 → examples/02_toggles.p6 100644 → 100755
@@ -1,3 +1,7 @@
#!/usr/bin/env perl6

use v6;
use lib 'lib';
use GTK::Simple;

=comment
Expand Down
4 changes: 4 additions & 0 deletions examples/03_grid.pm6 → examples/03_grid.p6 100644 → 100755
@@ -1,3 +1,7 @@
#!/usr/bin/env perl6

use v6;
use lib 'lib';
use GTK::Simple;

my GTK::Simple::App $app .= new(title => "Grid layouts!");
Expand Down

0 comments on commit fe6a42c

Please sign in to comment.