Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As the files move anyways we also change .pm6 to .rakumod. Provide a back-compat `Sake` module to keep current users working.
- Loading branch information
1 parent
cf45815
commit 47682d5
Showing
26 changed files
with
188 additions
and
143 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 |
---|---|---|
@@ -1,17 +1,18 @@ | ||
{ | ||
"perl" : "6.c", | ||
"name" : "sake", | ||
"name" : "ake", | ||
"version" : "0.0.3", | ||
"license" : "Artistic-2.0", | ||
"description" : "A make-a-like implemented in Raku", | ||
"provides" : { | ||
"Sake" : "lib/Sake.pm6", | ||
"Sake::Task" : "lib/Sake/Task.pm6", | ||
"Sake::Task::IO" : "lib/Sake/Task/IO.pm6", | ||
"Sake::TaskStore" : "lib/Sake/TaskStore.pm6" | ||
"Ake" : "lib/Ake.rakumod", | ||
"Sake" : "lib/Sake.rakumod", | ||
"Ake::Task" : "lib/Ake/Task.rakumod", | ||
"Ake::Task::IO" : "lib/Ake/Task/IO.rakumod", | ||
"Ake::TaskStore" : "lib/Ake/TaskStore.rakumod" | ||
}, | ||
"author" : "Jonathan Scott Duff <duff@pobox.com>", | ||
"depends" : [], | ||
"test-depends": [ "File::Temp" ], | ||
"source-url" : "git://github.com/perl6/p6-sake.git" | ||
"source-url" : "git://github.com/Raku/raku-ake.git" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env perl6 | ||
|
||
use v6; | ||
use Ake; | ||
|
||
sub MAIN(*@tasks, | ||
:$file = ‘Akefile’, | ||
:$force = False, | ||
) { | ||
|
||
if !$file.IO.e { | ||
note “Could not find file $file!”; | ||
exit 2 | ||
} | ||
EVALFILE $file; | ||
ake-precheck :$force; | ||
execute @tasks || ‘default’ | ||
} |
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
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
unit module Sake::TaskStore; | ||
unit module Ake::TaskStore; | ||
|
||
our %TASKS is export; | ||
|
||
|
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,19 @@ | ||
use Ake; | ||
|
||
sub EXPORT { | ||
%( | ||
Ake::Task::EXPORT::DEFAULT::, | ||
Ake::Task::IO::EXPORT::DEFAULT::, | ||
) | ||
} | ||
|
||
unit module Sake; | ||
|
||
sub execute(*@tasks) is export { | ||
execute |@tasks; | ||
} | ||
|
||
sub sake-precheck(:$force = False) is export { | ||
ake-precheck :$force; | ||
} | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use v6; | ||
use lib <lib/ t/lib>; | ||
use Sake; | ||
use Ake; | ||
use Test; | ||
|
||
plan 5; | ||
|
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
Oops, something went wrong.