Skip to content

Commit fddbcaa

Browse files
committed
Initial commit
0 parents  commit fddbcaa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+5735
-0
lines changed

.github/workflows/api.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: API Reference
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: krdlab/setup-haxe@v1
18+
with:
19+
haxe-version: 4.2.5
20+
- name: Set up Haxelib dependencies
21+
run: |
22+
haxelib install lime --quiet
23+
haxelib install openfl --quiet
24+
haxelib install dox --quiet
25+
haxelib dev feathersui-formatters $GITHUB_WORKSPACE
26+
- name: Build API reference
27+
working-directory: docs
28+
run: haxe docs.hxml
29+
- uses: actions/upload-artifact@v2
30+
with:
31+
name: feathersui-formatters
32+
path: bin/api/
33+
if-no-files-found: error
34+
- name: Deploy to unstable
35+
if: ${{ github.event_name != 'pull_request' }}
36+
uses: garygrossgarten/github-action-scp@release
37+
with:
38+
local: bin/api
39+
remote: api.feathersui.com/formatters/unstable
40+
host: ${{ secrets.SSH_HOST }}
41+
username: ${{ secrets.SSH_USER }}
42+
password: ${{ secrets.SSH_PASS }}

.github/workflows/flash.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Flash
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: krdlab/setup-haxe@v1
18+
with:
19+
haxe-version: 4.2.5
20+
- name: Set up Haxelib dependencies
21+
run: |
22+
haxelib install lime --quiet
23+
haxelib install openfl --quiet
24+
haxelib dev feathersui-formatters $GITHUB_WORKSPACE
25+
- name: Build Flash .swc library
26+
run: haxelib run openfl build flash -debug

.github/workflows/haxelib.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Haxelib
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/upload-artifact@v2
18+
with:
19+
name: feathersui-formatters-haxelib
20+
path: |
21+
src/
22+
haxelib.json
23+
README.md
24+
LICENSE
25+
NOTICE
26+
CHANGELOG.md
27+
if-no-files-found: error

.github/workflows/tests.yml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
test-html5:
13+
strategy:
14+
matrix:
15+
haxe-version: [4.2.5]
16+
runs-on: macos-latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: krdlab/setup-haxe@v1
20+
with:
21+
haxe-version: ${{ matrix.haxe-version }}
22+
- uses: actions/setup-node@v2
23+
with:
24+
node-version: "16"
25+
- name: Set up Haxelib dependencies
26+
run: |
27+
haxelib install lime --quiet
28+
haxelib install openfl --quiet
29+
haxelib install utest --quiet
30+
haxelib dev feathersui-formatters $GITHUB_WORKSPACE
31+
- name: Set up Node.js dependencies
32+
working-directory: test
33+
run: |
34+
npm ci
35+
- name: Run Tests
36+
working-directory: test
37+
run: |
38+
haxelib run openfl build html5 -final -Dplaywright
39+
node playwright-runner.js
40+
test-neko:
41+
strategy:
42+
matrix:
43+
haxe-version: [4.2.5]
44+
runs-on: ubuntu-latest
45+
steps:
46+
- uses: actions/checkout@v2
47+
- uses: krdlab/setup-haxe@v1
48+
with:
49+
haxe-version: ${{ matrix.haxe-version }}
50+
- name: Set up Haxelib dependencies
51+
run: |
52+
haxelib install lime --quiet
53+
haxelib install openfl --quiet
54+
haxelib install utest --quiet
55+
haxelib dev feathersui-formatters $GITHUB_WORKSPACE
56+
- name: Run Tests
57+
working-directory: test
58+
run: haxelib run openfl test neko
59+
test-hashlink:
60+
strategy:
61+
matrix:
62+
haxe-version: [4.2.5]
63+
runs-on: macos-latest
64+
steps:
65+
- uses: actions/checkout@v2
66+
- uses: krdlab/setup-haxe@v1
67+
with:
68+
haxe-version: ${{ matrix.haxe-version }}
69+
- name: Set up Haxelib dependencies
70+
run: |
71+
haxelib install lime --quiet
72+
haxelib install openfl --quiet
73+
haxelib install utest --quiet
74+
haxelib dev feathersui-formatters $GITHUB_WORKSPACE
75+
- name: Run Tests
76+
working-directory: test
77+
run: haxelib run openfl test hl
78+
test-air:
79+
strategy:
80+
matrix:
81+
haxe-version: [4.2.5]
82+
runs-on: windows-latest
83+
steps:
84+
- uses: actions/checkout@v2
85+
- uses: joshtynjala/setup-adobe-air-action@v1
86+
- uses: krdlab/setup-haxe@v1
87+
with:
88+
haxe-version: ${{ matrix.haxe-version }}
89+
- name: Set up Haxelib dependencies
90+
run: |
91+
haxelib install lime --quiet
92+
haxelib install openfl --quiet
93+
haxelib install utest --quiet
94+
haxelib dev feathersui-formatters ${{ github.workspace }}
95+
haxelib run lime config AIR_SDK ${{ env.AIR_HOME }}
96+
- name: Run Tests
97+
working-directory: test
98+
run: haxelib run openfl test air

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.vscode/
2+
bin/
3+
.DS_Store
4+
target/
5+
.project
6+
.settings/
7+
.classpath
8+
node_modules/

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# feathersui-formatters Change Log
2+
3+
## 1.0.0-alpha.1 (????-??-??)
4+
5+
- Initial release

0 commit comments

Comments
 (0)