Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
add repo support for 3rdparty modules
Browse files Browse the repository at this point in the history
also move unfinished modules to nursery
  • Loading branch information
aep committed Apr 2, 2020
1 parent e6dc668 commit 34d05c9
Show file tree
Hide file tree
Showing 21 changed files with 910 additions and 1,725 deletions.
762 changes: 762 additions & 0 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ getrandom = "0.1.14"
lazy_static = "1.4.0"
serde_cbor = "0.11.1"
sha2 = "0.8"
reqwest = "0.10.4"
url = "2.1.1"

[dependencies.rsmt2-zz]
version = "0.11.1"
Expand Down
11 changes: 3 additions & 8 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,9 @@ done

for i in $THIS/modules/*
do

if [ ! "$OSTYPE" = "msys" ] || [[ ! "$i" = *"/io" && ! "$i" = *"/net" && "$i" = *"/fs" ]]; then
cd $i
../../target/release/zz --smt-timeout=200000 clean
../../target/release/zz --smt-timeout=200000 test
else
echo "skip module $i"
fi
cd $i
../../target/release/zz --smt-timeout=200000 clean
../../target/release/zz --smt-timeout=200000 test
done

echo
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions examples/packages_from_git/src/main.zz
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
using <stdio.h>::{printf};

export fn main() -> int {
printf("hello packages_from_git\n");
return 0;
}
12 changes: 6 additions & 6 deletions modules/net/zz.toml → examples/packages_from_git/zz.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[project]
version = "0.1.0"
name = "net"
name = "packages_from_git"
cincludes = []
cobjects = []
pkgconfig = []
cflags = []
lflags = []

[variants]
default = []

[dependencies]
string = "1"
err = "1"
byteorder = "1"
io = "1"

[variants]
default = []
[repos]
extra = "git://github.com/zetzit/modules.git"
308 changes: 0 additions & 308 deletions modules/io/src/lib.zz

This file was deleted.

Loading

0 comments on commit 34d05c9

Please sign in to comment.