Skip to content

Commit 93ff533

Browse files
committed
Initial commit
0 parents  commit 93ff533

10 files changed

Lines changed: 2427 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 BlueIntent
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# iOS Helper Action
2+
3+
[![License](https://img.shields.io/github/license/BlueIntent/iOS-helper-action)](https://github.com/BlueIntent/iOS-helper-action/blob/main/LICENSE)
4+
5+
Action for iOS developers to automate tedious tasks like swiftlint, pod-lib-lint, install, run, test.
6+
7+
## Inputs
8+
9+
### Action
10+
#### `swiftlint`
11+
Swift style and conventions.
12+
#### `pod-lit-lint`
13+
Validates a Pod
14+
#### `install`
15+
Install project dependencies.
16+
#### `run`
17+
Install project dependencies, and open workspace.
18+
#### `test`
19+
Test a scheme from the build root (SYMROOT). This requires specifying a scheme and optionally a destination.
20+
21+
```
22+
- uses: BlueIntent/iOS-helper-action@v0.0.1
23+
with:
24+
action: 'swiftlint'
25+
```

action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: 'iOS Helper Action'
2+
description: 'Tool for iOS developers to automate tedious tasks like swiftlint, pod-lib-lint, install, run, test.'
3+
inputs:
4+
action: # action
5+
description: 'automate tedious tasks'
6+
required: true
7+
runs:
8+
using: "node12"
9+
main: "dist/index.js"

build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
if !(which xchelper >/dev/null); then
4+
echo "Installing xchelper"
5+
sh -c "$(curl -fsSL https://raw.githubusercontent.com/BlueIntent/xchelper/main/scripts/install.sh)"
6+
echo "Done!"
7+
fi
8+
9+
xchelper $1

0 commit comments

Comments
 (0)