0.1
|
Last change
on this file was 3153af3, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
|
Added packaging script.
|
-
Property mode
set to
100755
|
|
File size:
381 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash
|
|---|
| 2 |
|
|---|
| 3 | VER=0.1
|
|---|
| 4 |
|
|---|
| 5 | NAME=buchla-${VER}
|
|---|
| 6 | DIR=/tmp/${NAME}
|
|---|
| 7 |
|
|---|
| 8 | OS=$(uname)
|
|---|
| 9 |
|
|---|
| 10 | rm -rf ${DIR}
|
|---|
| 11 | mkdir ${DIR}
|
|---|
| 12 |
|
|---|
| 13 | function copy()
|
|---|
| 14 | {
|
|---|
| 15 | if [ -e ${1} ]; then
|
|---|
| 16 | cp ${1} ${DIR}
|
|---|
| 17 | else
|
|---|
| 18 | echo "missing ${1} file" >&2
|
|---|
| 19 | exit 1
|
|---|
| 20 | fi
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | copy buchla-os-x
|
|---|
| 24 | copy buchla-linux
|
|---|
| 25 | copy buchla-win.exe
|
|---|
| 26 |
|
|---|
| 27 | copy vera.ttf
|
|---|
| 28 | copy bios.abs
|
|---|
| 29 | copy midas.abs
|
|---|
| 30 | copy buchla.disk
|
|---|
| 31 |
|
|---|
| 32 | (cd /tmp; zip -r ${NAME}.zip ${NAME})
|
|---|
| 33 | mv ${DIR}.zip .
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.