mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
17 lines
473 B
Text
17 lines
473 B
Text
jar=$HOME/t/kobalt-apt-0.3.jar
|
|
rm -f $jar
|
|
cd $HOME/kotlin/kobalt
|
|
jar cf $jar -C build/classes/main com/beust/kobalt/plugin/apt
|
|
jar uf $jar -C src/main/resources .
|
|
|
|
rm -rf /tmp/META-INF
|
|
mkdir -p /tmp/META-INF
|
|
echo > /tmp/META-INF/MANIFEST.MF Manifest-Version: 1.0
|
|
echo >>/tmp/META-INF/MANIFEST.MF "Created-By: 1.8.0_25 (Oracle Corporation)"
|
|
echo >>/tmp/META-INF/MANIFEST.MF Kobalt-Plugin-Class: com.beust.kobalt.plugin.apt.AptPlugin
|
|
|
|
(cd /tmp && jar uf $jar META-INF)
|
|
|
|
|
|
|
|
|