File tree 2 files changed +20
-10
lines changed
2 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,8 @@ recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
14
14
15
15
# we only want "release" artifacts, not "debug" artifacts
16
16
recursive-include trust_pypi_example/rust/target/release/ *.so *.dylib *.dll *.lib
17
+ recursive-include trust_pypi_example *.h
17
18
18
- recursive-include trust_pypi_example *.h *.rs
19
+ # inclusing the .rs and .toml files isn't necessary so feel free to remove them.
20
+ # This may help if a source dist is needed.
21
+ recursive-include trust_pypi_example *.rs *.toml
Original file line number Diff line number Diff line change 1
1
# This script takes care of building your crate and packaging it for release
2
2
3
+ # Since we are mostly concerned with building a wheel I don't even run this.
4
+
3
5
set -ex
4
6
5
7
main () {
8
+ # move into rust project subdir
9
+ cd trust_pypi_example/rust/
10
+
6
11
local src=$( pwd) \
7
12
stage=
8
13
@@ -17,17 +22,19 @@ main() {
17
22
18
23
test -f Cargo.lock || cargo generate-lockfile
19
24
20
- # TODO Update this to build the artifacts that matter to you
21
- cross rustc --bin hello --target $TARGET --release -- -C lto
22
25
23
- # TODO Update this to package the right artifacts
24
- cp target/$TARGET /release/hello $stage /
25
26
26
- cd $stage
27
- tar czf $src /$CRATE_NAME -$TRAVIS_TAG -$TARGET .tar.gz *
28
- cd $src
27
+ # # TODO Update this to build the artifacts that matter to you
28
+ # cross rustc --bin hello --target $TARGET --release -- -C lto
29
+
30
+ # # TODO Update this to package the right artifacts
31
+ # cp target/$TARGET/release/hello $stage/
32
+
33
+ # cd $stage
34
+ # tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *
35
+ # cd $src
29
36
30
- rm -rf $stage
37
+ # rm -rf $stage
31
38
}
32
39
33
- main
40
+ # main
You can’t perform that action at this time.
0 commit comments