Created
June 30, 2010 13:46
-
-
Save masak/458666 to your computer and use it in GitHub Desktop.
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
MINI-CHALLENGE | |
============== | |
Current 'install' target output looks like this: | |
install: all | |
mkdir -p ~/.perl6/lib/Form | |
install lib/Form/TextFormatting.pir ~/.perl6/lib/Form/TextFormatting.pir | |
mkdir -p ~/.perl6/lib/Form | |
install lib/Form/NumberFormatting.pir ~/.perl6/lib/Form/NumberFormatting.pir | |
mkdir -p ~/.perl6/lib/Form | |
install lib/Form/Field.pir ~/.perl6/lib/Form/Field.pir | |
mkdir -p ~/.perl6/lib/Form | |
install lib/Form/Actions.pir ~/.perl6/lib/Form/Actions.pir | |
mkdir -p ~/.perl6/lib/Form | |
install lib/Form/Grammar.pir ~/.perl6/lib/Form/Grammar.pir | |
mkdir -p ~/.perl6/lib | |
install lib/Form.pir ~/.perl6/lib/Form.pir | |
mkdir -p ~/.perl6/lib | |
install lib/Test.pir ~/.perl6/lib/Test.pir | |
Only the first 'mkdir' is necessary. Removing reduntant identical 'mkdir's would | |
be easy. Removing those that only create substrings of already created paths might | |
or might not be as trivial. I'd do the latter iff it turns out that the code for it | |
looks nice. :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment