diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-10-28 14:49:28 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-10-28 14:49:28 +0100 |
commit | e3d0f58ff28e87b6bf7ca742ef5daecff2012204 (patch) | |
tree | 6e7aee68feab14ca8c45853c35ee7052685b9b41 /gup | |
parent | a5dd3fa6de2aece2ff4ccc447e4dbdb6c9512f5a (diff) | |
download | uni-e3d0f58ff28e87b6bf7ca742ef5daecff2012204.tar uni-e3d0f58ff28e87b6bf7ca742ef5daecff2012204.tar.gz uni-e3d0f58ff28e87b6bf7ca742ef5daecff2012204.tar.bz2 uni-e3d0f58ff28e87b6bf7ca742ef5daecff2012204.tar.xz uni-e3d0f58ff28e87b6bf7ca742ef5daecff2012204.zip |
java.gup
Diffstat (limited to 'gup')
-rw-r--r-- | gup/Gupfile | 4 | ||||
-rw-r--r-- | gup/java.gup | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gup/Gupfile b/gup/Gupfile index 5d89a6a..e078318 100644 --- a/gup/Gupfile +++ b/gup/Gupfile | |||
@@ -1,4 +1,6 @@ | |||
1 | pdf.gup: | 1 | pdf.gup: |
2 | 2 | ||
3 | abgabe.gup: | 3 | abgabe.gup: |
4 | **/abgabe.zip \ No newline at end of file | 4 | **/abgabe.zip |
5 | java.gup: | ||
6 | **/*.class \ No newline at end of file | ||
diff --git a/gup/java.gup b/gup/java.gup new file mode 100644 index 0000000..f347cff --- /dev/null +++ b/gup/java.gup | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/usr/bin/env zsh | ||
2 | |||
3 | javaFile=${2%.class}.java | ||
4 | |||
5 | gup --update $javaFile | ||
6 | |||
7 | javac $javaFile | ||