Skip to content

Instantly share code, notes, and snippets.

@hanya
Created August 6, 2021 00:23
Show Gist options
  • Save hanya/0455e7e2a3648df404674ae78736440e to your computer and use it in GitHub Desktop.
Save hanya/0455e7e2a3648df404674ae78736440e to your computer and use it in GitHub Desktop.
Packing mozc files
packVersion=v2.23.2785.102.4
#git clone -b haiku --recursive --depth=1 https://github.com/hanya/mozc.git
#git submodule clone --init --recursive
#cd mozc
#git pull
cd ..
#tar -cJf mozc-$packVersion.tar.xz
tar -cjf mozc-$packVersion.tar.bz2 \
--exclude=.git \
--exclude=src/third_party/breakpad \
--exclude=src/third_party/guava \
--exclude=src/third_party/ipa_font \
--exclude=src/third_party/jsoncpp \
--exclude=src/third_party/protobuf \
--exclude=src/third_party/wtl \
--exclude=src/out_linux \
mozc/**
sha256sum mozc-$packVersion.tar.bz2
# | grep [^\s]*
# --exclude=src/third_party/gyp \
#--exclude=src/third_party/gtest/* \
# --exclude=src/third_party/zinnia/* \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment