Skip to content

Commit

Permalink
Package subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
timsueberkrueb committed Jan 5, 2024
1 parent ff6272c commit 01d50f1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions scripts/package_artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
test -e xfunc_artifact.zip && rm xfunc_artifact.zip

DIR=$(mktemp -d)
git clone --depth 1 "$(git remote get-url origin)" "$DIR/"
git clone --depth 1 "$(git remote get-url origin)" "$DIR/xfn-lang"

pushd $DIR || exit 1
pushd "$DIR" || exit 1
pushd "$DIR/xfn-lang" || exit 1

rm scripts/package_artifact.sh
rm scripts/oopsla_snippets.sh
Expand All @@ -23,13 +24,15 @@ rm -rf .gitignore
rm -rf .github/
rm -rf .cargo/

zip -r 129.zip .
popd

zip -r 129.zip xfn-lang

popd

mv "$DIR/129.zip" .
rm -rf "$DIR"

echo "MD5 checksum:"
echo "SHA256 checksum:"

md5sum 129.zip
sha256sum 129.zip

0 comments on commit 01d50f1

Please sign in to comment.