Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔨 tooling(tcr): Add TCR #1

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
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
9 changes: 9 additions & 0 deletions java/.tcr/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
config:
git:
auto-push: false
polling-period: 2s
mob-timer:
duration: 5m0s
tcr:
language: java
toolchain: maven
9 changes: 9 additions & 0 deletions java/.tcr/language/java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
toolchains:
default: maven
compatible-with: [ maven ]
source-files:
directories: [ src/main ]
patterns: [ '(?i)^.*\.java$' ]
test-files:
directories: [ src/test ]
patterns: [ '(?i)^.*\.java$' ]
11 changes: 11 additions & 0 deletions java/.tcr/toolchain/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
build:
- os: [ darwin, linux, windows ]
arch: [ "386", amd64, arm64 ]
command: mvn
arguments: [ test-compile ]
test:
- os: [ darwin, linux, windows ]
arch: [ "386", amd64, arm64 ]
command: mvn
arguments: [ test ]
test-result-dir: target/surefire-reports
4 changes: 4 additions & 0 deletions java/tcrw
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

base_dir="$(cd "$(dirname -- "$0")" && pwd)"
. "${base_dir}/../tcr/tcr.sh"
1 change: 1 addition & 0 deletions javascript/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
9 changes: 9 additions & 0 deletions javascript/.tcr/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
config:
git:
auto-push: false
polling-period: 2s
mob-timer:
duration: 5m0s
tcr:
language: javascript
toolchain: npm
9 changes: 9 additions & 0 deletions javascript/.tcr/language/javascript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
toolchains:
default: npm
compatible-with: [npm]
source-files:
directories: [.]
patterns: ['(?i)^.*\.js$']
test-files:
directories: [.]
patterns: ['(?i)^.*\.(test|spec)\.js$']
11 changes: 11 additions & 0 deletions javascript/.tcr/toolchain/npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
build:
- os: [darwin, linux, windows]
arch: ["386", amd64, arm64]
command: npm
arguments: [test, --testNamePattern=DO-NOT-RUN-ANYTHING, --silent]
test:
- os: [darwin, linux, windows]
arch: ["386", amd64, arm64]
command: npm
arguments: [test]
test-result-dir: test_results
Loading