Skip to content

Commit

Permalink
Merge pull request #125 from specs-feup/staging
Browse files Browse the repository at this point in the history
Add new Clava-JS project
  • Loading branch information
joaobispo authored Jul 22, 2023
2 parents 708c1a8 + 4215b2f commit 4d4ece2
Show file tree
Hide file tree
Showing 62 changed files with 123,274 additions and 187 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ant.yml → .github/workflows/ant-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
uses: mikepenz/action-junit-report@v3.6.1
if: always() # always run even if the previous step fails
with:
#report_paths: '**/reports-eclipse-build/TEST-*.xml'
report_paths: '**/reports-eclipse-build/*.xml'
report_paths: '**/reports-eclipse-build/TEST-*.xml'
summary: true
#exclude_sources: ''
1 change: 0 additions & 1 deletion .github/workflows/ant-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,5 @@ jobs:
if: always() # always run even if the previous step fails
with:
report_paths: '**/reports-eclipse-build/TEST-*.xml'
#report_paths: '**/reports-eclipse-build/*.xml'
summary: true
#exclude_sources: ''
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ deps/*/*/*
debug
debug_
stderr.txt

# experiments
/*Experiment/
28 changes: 28 additions & 0 deletions Clava-JS/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "eslint-plugin-tsdoc"],
"parserOptions": {
"project": ["./*/tsconfig.json", "./tsconfig.*.json"]
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"tsdoc/syntax": "warn"
},
"overrides": [
{
"files": ["**/*.spec.ts", "**/*.test.ts"],
"plugins": ["jest"],
"extends": ["plugin:jest/recommended"],
"env": {
"jest/globals": true
}
}
]
}
114 changes: 114 additions & 0 deletions Clava-JS/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
##### User-added #####
woven_code/
api/
code/
package-lock.json

# Extensions
ltex.dictionary.*
######################

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
12 changes: 12 additions & 0 deletions Clava-JS/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"prettier.tabWidth": 2,
"editor.formatOnPaste": true,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/*.code-search": true,
"./api/**": true,
"./code/**": true
},
"cmake.configureOnOpen": false
}
3 changes: 3 additions & 0 deletions Clava-JS/CxxTestSources/test1/lib.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include <stdio.h>

void foo() { printf("Hello, world!"); }
8 changes: 8 additions & 0 deletions Clava-JS/CxxTestSources/test1/lib.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ifndef __LIB_H__
#define __LIB_H__

#include <stdio.h>

void foo();

#endif // __LIB_H__
6 changes: 6 additions & 0 deletions Clava-JS/CxxTestSources/test1/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "lib.h"

int main(int argc, char *argv[]) {
foo();
return 0;
}
Loading

0 comments on commit 4d4ece2

Please sign in to comment.