File: upload.sh

package info (click to toggle)
python-pyfunceble 4.2.29.dev-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,108 kB
  • sloc: python: 27,413; sh: 142; makefile: 27
file content (30 lines) | stat: -rw-r--r-- 488 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash

set -e

hash asciinema
hash grep
hash sed

tmpDir="/tmp/pyfunceble-demos"

for file in "${@}"; do
    castFile="/${tmpDir}/$(basename "${file}").cast"

    asciinema upload ${castFile} | grep 'https:' | sed 's/^\s*//'
done
#!/usr/bin/env bash

set -e

hash asciinema
hash grep
hash sed

tmpDir="/tmp/pyfunceble-demos"

for file in "${@}"; do
    castFile="/${tmpDir}/$(basename "${file}").cast"

    asciinema upload ${castFile} | grep 'https:' | sed 's/^\s*//'
done