Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Perlito5 - update Makefile (suggested by shlomif++)
- Loading branch information
Showing
4 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # default actions | ||
|
|
||
| make :: | ||
| perl perlito5.pl -I./src5/lib -Cjs src5/util/perlito5.pl > perlito5.js | ||
|
|
||
| test :: | ||
| prove -r -e 'node perlito5.js -I./src5/lib' t5 | ||
|
|
||
|
|
||
| # more | ||
|
|
||
| build-5js :: | ||
| perl perlito5.pl -I./src5/lib -Cjs src5/util/perlito5.pl > perlito5.js | ||
|
|
||
| build-5browser :: | ||
| perl perlito5.pl -I./src5/lib -Cjs src5/util/perlito5-browser.pl > html/perlito5.js | ||
|
|
||
| boot-5js :: | ||
| time node perlito5.js -Isrc5/lib -Cjs src5/util/perlito5.pl > perlito5-new.js && diff perlito5-new.js perlito5.js ; cp perlito5-new.js perlito5.js | ||
|
|
||
| test-5js :: | ||
| prove -r -e 'node perlito5.js -I./src5/lib' t5 | ||
|
|
||
| boot-5to5 :: | ||
| time perl perlito5.pl -Isrc5/lib -Cperl5 src5/util/perlito5.pl > perlito5-new.pl && diff perlito5-new.pl perlito5.pl ; cp perlito5-new.pl perlito5.pl | ||
|
|
||
| test-5to5 :: | ||
| prove -r -e 'perl perlito5.pl -I./src5/lib ' t5 | ||
|
|
||
| test-5to6 :: | ||
| -find t5/*/*.t | perl -ne ' chomp; print "*** perl6 $$_.p6$$/"; chomp; print `perl -Ilib5 perlito5.pl -Cperl6 $$_ > $$_.p6 && perl6 $$_.p6 `' | ||
|
|
||
| .PHONY: test-5to6 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters