Merge pull request #43 from awakesecurity/gb/use-latest-proto3-suite

update to latest proto3-suite
This commit is contained in:
gbaz 2018-01-17 12:17:51 -05:00 committed by GitHub
commit f0925d5b5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -11,8 +11,8 @@ mkDerivation {
version = "0.1.0.0"; version = "0.1.0.0";
src = fetchgit { src = fetchgit {
url = "https://github.com/awakenetworks/proto3-suite"; url = "https://github.com/awakenetworks/proto3-suite";
sha256 = "076fh739580vp9h23d4zw3mddmd0md39c7k4x8macwy502wgdf1j"; sha256 = "1q7fyavirkb5lh8qic4sc67jbakafr8msj6k2i29drzfpv2gbvzq";
rev = "97c4f66c8972416cca8b0bd1d9b307863bbc82e2"; rev = "bb66853dcaa7372ef061cf83f39e4ba5193898de";
}; };
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;

View file

@ -9,7 +9,7 @@ packages:
- '.' - '.'
- location: - location:
git: git@github.com:awakenetworks/proto3-suite.git git: git@github.com:awakenetworks/proto3-suite.git
commit: 97c4f66c8972416cca8b0bd1d9b307863bbc82e2 commit: bb66853dcaa7372ef061cf83f39e4ba5193898de
extra-dep: true extra-dep: true
- location: - location:
git: git@github.com:awakenetworks/proto3-wire.git git: git@github.com:awakenetworks/proto3-wire.git

View file

@ -21,7 +21,7 @@ testServerGeneration = testCase "server generation" $ do
mktree hsTmpDir mktree hsTmpDir
mktree pyTmpDir mktree pyTmpDir
compileDotProtoFileOrDie hsTmpDir ["tests"] "simple.proto" compileDotProtoFileOrDie [] hsTmpDir ["tests"] "simple.proto"
do exitCode <- proc "tests/simple-server.sh" [hsTmpDir] empty do exitCode <- proc "tests/simple-server.sh" [hsTmpDir] empty
exitCode @?= ExitSuccess exitCode @?= ExitSuccess
@ -49,7 +49,7 @@ testClientGeneration = testCase "client generation" $ do
mktree hsTmpDir mktree hsTmpDir
mktree pyTmpDir mktree pyTmpDir
compileDotProtoFileOrDie hsTmpDir ["tests"] "simple.proto" compileDotProtoFileOrDie [] hsTmpDir ["tests"] "simple.proto"
do exitCode <- proc "tests/simple-client.sh" [hsTmpDir] empty do exitCode <- proc "tests/simple-client.sh" [hsTmpDir] empty
exitCode @?= ExitSuccess exitCode @?= ExitSuccess