-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There's a lot of changes to code in lib because of applying podtidy.
- Loading branch information
Showing
40 changed files
with
358 additions
and
250 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
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,53 +1,53 @@ | ||
API | ||
boolification | ||
ClassName | ||
Coercions | ||
coercions | ||
de | ||
distro | ||
globification | ||
inlinable | ||
inline | ||
isa | ||
Kogman | ||
LaxVersionStr | ||
MUTC | ||
ModuleName | ||
MUTC | ||
namespace | ||
NegativeInt | ||
NegativeNum | ||
NegativeOrZeroInt | ||
NegativeOrZeroNum | ||
NonEmptySimpleStr | ||
NonEmptyStr | ||
Num | ||
PARAMETERIZABLE | ||
numification | ||
PackageName | ||
PARAMETERIZABLE | ||
parameterizable | ||
parameterization | ||
parameterized | ||
PayPal | ||
PositiveInt | ||
PositiveNum | ||
PositiveOrZeroInt | ||
PositiveOrZeroNum | ||
RegexpRef | ||
reimplementation | ||
Rolsky | ||
SIGNES | ||
SPECIO | ||
SafeIdentifier | ||
ScalarRef | ||
sigils | ||
SIGNES | ||
SimpleStr | ||
SingleDigit | ||
slurpy | ||
SPECIO | ||
Specio | ||
Str | ||
StrictVersionStr | ||
Throwable | ||
Yuval | ||
boolification | ||
coercions | ||
de | ||
distro | ||
globification | ||
inlinable | ||
inline | ||
isa | ||
namespace | ||
numification | ||
parameterizable | ||
parameterization | ||
parameterized | ||
reimplementation | ||
sigils | ||
slurpy | ||
structurable | ||
subtype | ||
subtypes | ||
Throwable | ||
Yuval |
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 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
TARGET="$HOME/bin" | ||
if [ $(id -u) -eq 0 ]; then | ||
TARGET="/usr/local/bin" | ||
fi | ||
echo "Installing dev tools to $TARGET" | ||
|
||
mkdir -p $TARGET | ||
curl --silent --location \ | ||
https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh | | ||
sh | ||
|
||
"$TARGET/ubi" --project houseabsolute/precious --in "$TARGET" | ||
"$TARGET/ubi" --project houseabsolute/omegasort --in "$TARGET" | ||
|
||
echo "Add $TARGET to your PATH in order to use precious for linting and tidying" |
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,15 @@ | ||
#!/bin/bash | ||
|
||
status=0 | ||
|
||
PRECIOUS=$(which precious) | ||
if [[ -z $PRECIOUS ]]; then | ||
PRECIOUS=./bin/precious | ||
fi | ||
|
||
"$PRECIOUS" lint -s | ||
if (( $? != 0 )); then | ||
status+=1 | ||
fi | ||
|
||
exit $status |
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,27 @@ | ||
#!/usr/bin/env perl | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use Cwd qw( abs_path ); | ||
|
||
symlink_hook('pre-commit'); | ||
|
||
sub symlink_hook { | ||
my $hook = shift; | ||
|
||
my $dot = ".git/hooks/$hook"; | ||
my $file = "git/hooks/$hook.sh"; | ||
my $link = "../../$file"; | ||
|
||
if ( -e $dot ) { | ||
if ( -l $dot ) { | ||
return if readlink $dot eq $link; | ||
} | ||
warn "You already have a hook at $dot!\n"; | ||
return; | ||
} | ||
|
||
symlink $link, $dot | ||
or die "Could not link $dot => $link: $!"; | ||
} |
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
Oops, something went wrong.