#!/bin/sh
rm -rf intellij-community
git clone https://github.com/JetBrains/intellij-community.git
( cd intellij-community/plugins/java-decompiler/engine/
  tar cvf - * ) |\
xz -9 >fernflower-`date '+%Y%m%d'`.tar.xz
rm -rf intellij-community
