Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Shellcheck

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
shellcheck:
name: Check shell scripts
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y shellcheck
- name: shellcheck
run: |
git grep -l '^#\( *shellcheck \|!\(/bin/\|/usr/bin/env \)\(sh\|bash\|dash\|ksh\)\)' | xargs shellcheck
4 changes: 2 additions & 2 deletions package-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ cp -r target/jfx/native/datavyu.app target/jfx/native/Datavyu/
ln -s /Applications target/jfx/native/Datavyu/

echo version number:
read version
read -r version

sudo hdiutil create -fs HFS+ target/jfx/native/Datavyu-$version-OSX.dmg -volname "Datavyu" -srcfolder target/jfx/native/Datavyu
sudo hdiutil create -fs HFS+ "target/jfx/native/Datavyu-$version-OSX.dmg" -volname "Datavyu" -srcfolder target/jfx/native/Datavyu

rm -rf target/jfx/native/Datavyu