-
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.
Merge pull request #39 from pine613/develop
Update version to v1.1.4
- Loading branch information
Showing
36 changed files
with
799 additions
and
368 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 |
---|---|---|
|
@@ -3,4 +3,3 @@ | |
--color | ||
--failures | ||
--trap | ||
--verbose |
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 |
---|---|---|
|
@@ -43,7 +43,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
----------------------------------------------------------- | ||
|
||
| JSON::PP | ||
| http://search.cpan.org/~makamaka/JSON-PP-2.27300/lib/JSON/PP.pm | ||
| https://metacpan.org/pod/JSON::PP | ||
|
||
Copyright 2005-2013 by Makamaka Hannyaharamitu | ||
|
||
|
@@ -52,6 +52,16 @@ under the same terms as Perl itself. | |
|
||
----------------------------------------------------------- | ||
|
||
| File::Which | ||
| https://metacpan.org/pod/File::Which | ||
|
||
This software is copyright (c) 2002 by Per Einar Ellefsen <[email protected]>. | ||
|
||
This is free software; you can redistribute it and/or modify it under | ||
the same terms as the Perl 5 programming language system itself. | ||
|
||
----------------------------------------------------------- | ||
|
||
| crystal-build | ||
|
||
(The MIT license) | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
use strict; | ||
use warnings; | ||
use utf8; | ||
|
||
use t::Util; | ||
|
||
use CrystalBuild::Builder::Shards; | ||
|
||
subtest basic => sub { | ||
my $env_crystal_path = '__ENV_CRYSTAL_PATH__'; | ||
my $target_dir = '__TARGET_DIR__'; | ||
my $crystal_bin = '__CRYSTAL_BIN__'; | ||
|
||
my $builder = CrystalBuild::Builder::Shards->new; | ||
my $actual = $builder->_create_build_command($env_crystal_path, $target_dir, $crystal_bin); | ||
my $expected = <<'EOF'; | ||
CRYSTAL_PATH=__ENV_CRYSTAL_PATH__ \ | ||
LD_LIBRARY_PATH=__TARGET_DIR__:$LD_LIBRARY_PATH \ | ||
cd "__TARGET_DIR__" && "__CRYSTAL_BIN__" build --release src/shards.cr -o bin/shards | ||
EOF | ||
|
||
is $actual, $expected; | ||
}; | ||
|
||
done_testing; |
Oops, something went wrong.