Skip to content

Instantly share code, notes, and snippets.

@hanya
Created February 13, 2019 16:52
Show Gist options
  • Save hanya/7fefa41f84d154dc7f96978a419576b4 to your computer and use it in GitHub Desktop.
Save hanya/7fefa41f84d154dc7f96978a419576b4 to your computer and use it in GitHub Desktop.
Script to pack mozc with submodules for Haiku ports
packVersion=v2.23.2785.102.7
#git clone -b haiku --recursive --depth=1 https://github.com/hanya/mozc.git
#git submodule clone --init --recursive
#git submodule clone --init --recursive src/third_party/zinnia
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 \
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