Skip to content

Commit 7d3166f

Browse files
authored
Merge pull request #1 from joeferner/master
pull latest from upstream
2 parents b01b9c1 + 2e83456 commit 7d3166f

163 files changed

Lines changed: 9956 additions & 8050 deletions

File tree

Some content is hidden

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

.clang-format

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BasedOnStyle: LLVM
2+
ColumnLimit: 120

.devcontainer/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM mcr.microsoft.com/devcontainers/javascript-node:24
2+
3+
# need to run update and install at the same time to prevent stale update layer
4+
RUN apt-get update && apt-get install -y gdb clang-format openjdk-21-jdk maven

.devcontainer/devcontainer.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"build": {
3+
"dockerfile": "Dockerfile"
4+
},
5+
"runArgs": [],
6+
"customizations": {
7+
"vscode": {
8+
"extensions": [
9+
"streetsidesoftware.code-spell-checker",
10+
"bierner.markdown-emoji",
11+
"smulyono.reveal",
12+
"ms-azuretools.vscode-docker",
13+
"ms-vscode.cpptools-extension-pack"
14+
]
15+
}
16+
}
17+
}

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# These files will be normalized on commit (CRLF converted to LF) - asterisk is a wildcard
2+
* text eol=lf
3+
4+
# These files will NOT be normalized
5+
*.png -text
6+
*.gif -text
7+
*.jpg -text
8+
*.jpeg -text
9+
*.ico -text
10+
*.jar -text
11+
*.class -text

.github/workflows/master.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: master
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
unit-test:
8+
name: Unit Test
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
nodeVersion: [ 20, 22, 24 ]
13+
jdkVersion: [ openjdk9, openjdk10, openjdk11, openjdk21 ]
14+
steps:
15+
- name: Checkout source code
16+
uses: actions/checkout@v3
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: ${{ matrix.nodeVersion }}
20+
- name: npm ci
21+
run: npm ci
22+
- name: npm run format-cpp
23+
run: npm run format-cpp
24+
- name: npm run format
25+
run: npm run format
26+
- name: npm run lint
27+
run: npm run lint
28+
- name: Unit test
29+
run: npm test
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Pull Requests
2+
on:
3+
pull_request:
4+
types: [opened, edited, reopened, synchronize]
5+
branches:
6+
- master
7+
jobs:
8+
unit-test:
9+
name: Unit Test
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
nodeVersion: [ 20, 22, 24 ]
14+
jdkVersion: [ openjdk9, openjdk10, openjdk11, openjdk21 ]
15+
steps:
16+
- name: Checkout source code
17+
uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: ${{ matrix.nodeVersion }}
21+
- name: npm ci
22+
run: npm ci
23+
- name: npm run format-cpp
24+
run: npm run format-cpp
25+
- name: npm run format
26+
run: npm run format
27+
- name: npm run lint
28+
run: npm run lint
29+
- name: Unit test
30+
run: npm test

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ node-java.cbp
99
*.iml
1010
*.kdev4
1111
*/.kdev_include_paths
12+
CMakeLists.txt
13+
cmake-build-debug/
14+
hs_err*

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/test
12
/testIntegration
23
/.idea
34
/build

.prettierignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**/*.cpp
2+
**/*.h
3+
**/*.ppt
4+
**/*.jar
5+
**/*.class
6+
**/*.java
7+
**/*.sh
8+
**/*.html
9+
**/*.json
10+
**/*.png
11+
**/*.md
12+
**/*.rule
13+
**/*.rules
14+
**/*.gyp
15+
**/*.yml
16+
**/Dockerfile
17+
.clang-format
18+
.prettierrc
19+
.prettierignore
20+
.npmignore
21+
.gitignore
22+
.gitattributes
23+
LICENSE

.prettierrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parser": "typescript",
3+
"semi": true,
4+
"singleQuote": false,
5+
"tabWidth": 2,
6+
"trailingComma": "es5",
7+
"useTabs": false,
8+
"printWidth": 120,
9+
"endOfLine": "lf"
10+
}

0 commit comments

Comments
 (0)