Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lupin3000/osalint
Small Docker Shellsheck via Applescript
https://github.com/lupin3000/osalint
applescript dockerfile macos shellcheck
Last synced: 10 days ago
JSON representation
Small Docker Shellsheck via Applescript
- Host: GitHub
- URL: https://github.com/lupin3000/osalint
- Owner: Lupin3000
- Created: 2017-07-31T16:14:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-31T16:44:36.000Z (over 7 years ago)
- Last Synced: 2024-11-28T01:30:11.742Z (2 months ago)
- Topics: applescript, dockerfile, macos, shellcheck
- Language: AppleScript
- Homepage: http://softwaretester.info
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# osaLint
__Requirements__
- [Docker for Mac](https://www.docker.com/docker-mac) installed
- Git installed## Prepare for usage
```shell
# clone repository
$ git clone https://github.com/Lupin3000/osaLint.git# change directory
$ cd osaLint/# build Docker image
$ docker build -t alpine/shellcheck .# change permission
$ chmod +x linter.scpt
```## Simple usage
```shell
# run Applescript from Terminal
$ osascript linter.scpt
```## Extended usage
```shell
# create script directory
$ mkdir ~/Library/Scripts# copy script into directory
$ cp -a linter.scpt ~/Library/Scripts# add alias to .bash_profile
echo "alias shelllint='osascript ~/Library/Scripts/linter.scpt'" >> ~/.bash_profile# reload source
$ source ~/.bash_profile# run shelllint
$ shelllint
```