Rename assets folder to screenshots, and improve the build system.

This commit is contained in:
Jordan Petridis
2018-02-04 01:34:34 +02:00
parent d131c279b9
commit 1888539a97
11 changed files with 43 additions and 42 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
#!/bin/sh
cargo build --release -p hammond-gtk && cp $1/target/release/hammond-gtk $2
export CARGO_HOME=$1/target/cargo-home
cargo build --release -p hammond-gtk && cp $1/target/release/hammond-gtk $2
+2 -10
View File
@@ -18,22 +18,14 @@ cp meson.build $DIST
cp Hammond.doap $DIST
cp LICENSE $DIST
cp README.md $DIST
cp -rf assets $DIST
cp -rf screenshots $DIST
cp -rf scripts $DIST
# cargo vendor
cargo vendor
mkdir $DIST/.cargo
cat <<EOF > $DIST/.cargo/config
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF
cargo vendor > $DIST/.cargo/config
cp -rf vendor $DIST/
# packaging
cd $DEST/dist
tar -cJvf $VERSION.tar.xz $VERSION