diff --git a/src/build.sh b/src/build.sh index c84cbf0..8a3af7f 100644 --- a/src/build.sh +++ b/src/build.sh @@ -44,10 +44,14 @@ echo Compiling... make make install +echo Finished Building! + cd $BUILDPATH/bin/include -# Compress and get hash +echo Compressing build fragment... tar -cJf $VERSION.tar.xz mozjs-$MAJORVERSION/ +echo Calculating sum of fragment... sha256sum $VERSION.tar.xz > $VERSION.tar.xz.sha256 +echo Moving fragments to output mv $VERSION.tar.xz $VERSION.tar.xz.sha256 $OUTPUT \ No newline at end of file