-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add --fix-compunit flag - fix tests for all three platforms - improve CI - update README
- Loading branch information
Showing
43 changed files
with
270 additions
and
134 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,32 @@ | ||
name: MacOS | ||
|
||
on: | ||
push: | ||
branches: [ master, dev ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
raku: | ||
strategy: | ||
matrix: | ||
os: | ||
- macOS-latest | ||
raku-version: | ||
- 'latest' | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: Raku/setup-raku@v1 | ||
with: | ||
raku-version: ${{ matrix.raku-version }} | ||
- name: Install Dependencies | ||
run: zef install --/test --test-depends --deps-only . | ||
- name: Install App::Prove6 | ||
run: zef install --/test App::Prove6 | ||
- name: Run Tests | ||
run: prove6 t | ||
- name: Run XT Tests | ||
run: prove6 xt |
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,10 @@ | ||
Version history: | ||
|
||
1.4.1 2021-10-21 'Second public release' | ||
- add --fix-compunit flag | ||
- fix tests for all three platforms | ||
- improve CI | ||
- Update README | ||
|
||
1.3.1 2021-03-14 'The first public release' | ||
- Production ready code coverage tool |
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
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
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,11 +1,22 @@ | ||
unit module App::Racoco::RunProc; | ||
|
||
class RunProc is export { | ||
method run(|c --> Proc) { | ||
my $proc = shell(|c); | ||
if $proc.exitcode != 0 { | ||
$*ERR.say: "Fail execute: {c.List[0]}"; | ||
} | ||
$proc | ||
} | ||
method run(:%vars, |c --> Proc) { | ||
my $comand = self!tweak-command(c.list[0], :%vars); | ||
my $proc = shell($comand, |c.hash); | ||
if $proc.exitcode != 0 { | ||
$*ERR.say: "Fail execute: { $comand }"; | ||
} | ||
$proc | ||
} | ||
|
||
method !tweak-command($command, :%vars) { | ||
return $command unless %vars.elems; | ||
if $*DISTRO.is-win { | ||
my $vars-str = %vars.kv.map(-> $k, $v { "$k=$v&&" }).join(' set '); | ||
qq[cmd /S /C "set $vars-str $command"] | ||
} else { | ||
%vars.kv.map(-> $k, $v { "$k=$v" }).join(' ') ~ ' ' ~ $command | ||
} | ||
} | ||
} |
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
sub m1() is export { | ||
'm1' | ||
} |
Oops, something went wrong.