Skip to content

Commit

Permalink
chmod +x setup.pir
Browse files Browse the repository at this point in the history
convert CRLF to LF
  • Loading branch information
fperrad committed Jun 3, 2010
1 parent d6d1f26 commit d09d73d
Showing 1 changed file with 56 additions and 56 deletions.
112 changes: 56 additions & 56 deletions setup.pir
100644 → 100755
Original file line number Original file line Diff line number Diff line change
@@ -1,56 +1,56 @@
#!/usr/bin/env parrot #!/usr/bin/env parrot
# Copyright (C) 2009, Parrot Foundation. # Copyright (C) 2009, Parrot Foundation.


=head1 NAME =head1 NAME


setup.pir - Python distutils style setup.pir - Python distutils style


=head1 DESCRIPTION =head1 DESCRIPTION


No Configure step, no Makefile generated. No Configure step, no Makefile generated.


=head1 USAGE =head1 USAGE


$ parrot setup.pir build $ parrot setup.pir build
$ parrot setup.pir test $ parrot setup.pir test
$ sudo parrot setup.pir install $ sudo parrot setup.pir install


=cut =cut


.sub 'main' :main .sub 'main' :main
.param pmc args .param pmc args
$S0 = shift args $S0 = shift args
load_bytecode 'distutils.pbc' load_bytecode 'distutils.pbc'


$P0 = new 'Hash' $P0 = new 'Hash'
$P0['name'] = 'Lazy K' $P0['name'] = 'Lazy K'
$P0['abstract'] = 'Lazy K is a pure functional programming language.' $P0['abstract'] = 'Lazy K is a pure functional programming language.'
$P0['authority'] = 'http://github.com/bschmalhofer' $P0['authority'] = 'http://github.com/bschmalhofer'
$P0['description'] = 'LazyK is a pure functional programming language. See http://esolangs.org/wiki/Lazy_K.' $P0['description'] = 'LazyK is a pure functional programming language. See http://esolangs.org/wiki/Lazy_K.'
$P0['license_type'] = 'Artistic License 2.0' $P0['license_type'] = 'Artistic License 2.0'
$P0['license_uri'] = 'http://www.perlfoundation.org/artistic_license_2_0' $P0['license_uri'] = 'http://www.perlfoundation.org/artistic_license_2_0'
$P0['copyright_holder'] = 'Parrot Foundation' $P0['copyright_holder'] = 'Parrot Foundation'
$P0['checkout_uri'] = 'git://github.com/bschmalhofer/lazy-k.git' $P0['checkout_uri'] = 'git://github.com/bschmalhofer/lazy-k.git'
$P0['browser_uri'] = 'http://github.com/bschmalhofer/lazy-k' $P0['browser_uri'] = 'http://github.com/bschmalhofer/lazy-k'
$P0['project_uri'] = 'http://github.com/bschmalhofer/lazy-k' $P0['project_uri'] = 'http://github.com/bschmalhofer/lazy-k'


# build # build
$P1 = new 'Hash' $P1 = new 'Hash'
$P1['lazy.pbc'] = 'lazy.pir' $P1['lazy.pbc'] = 'lazy.pir'
$P0['pbc_pir'] = $P1 $P0['pbc_pir'] = $P1


$P2 = new 'Hash' $P2 = new 'Hash'
$P2['parrot-lazy'] = 'lazy.pbc' $P2['parrot-lazy'] = 'lazy.pbc'
$P0['installable_pbc'] = $P2 $P0['installable_pbc'] = $P2


# test # test
$P0['test_exec'] = 'perl' $P0['test_exec'] = 'perl'


.tailcall setup(args :flat, $P0 :flat :named) .tailcall setup(args :flat, $P0 :flat :named)
.end .end


# Local Variables: # Local Variables:
# mode: pir # mode: pir
# fill-column: 100 # fill-column: 100
# End: # End:
# vim: expandtab shiftwidth=4 ft=pir: # vim: expandtab shiftwidth=4 ft=pir:

0 comments on commit d09d73d

Please sign in to comment.