From 5923d14704fef6109d75ea36c2a8574b5de8271f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Rodr=C3=ADguez=20S=C3=A1nchez?= Date: Tue, 27 Aug 2024 15:57:08 +0200 Subject: [PATCH] Add interface QMLs And list them in .Rbuildignore --- .Rbuildignore | 8 ++++++++ .editorconfig | 20 ++++++++++++++++++++ inst/Description.qml | 14 ++++++++++++++ inst/help/.gitkeep | 0 inst/icons/.gitkeep | 0 inst/qml/.gitkeep | 0 6 files changed, 42 insertions(+) create mode 100644 .editorconfig create mode 100644 inst/Description.qml create mode 100644 inst/help/.gitkeep create mode 100644 inst/icons/.gitkeep create mode 100644 inst/qml/.gitkeep diff --git a/.Rbuildignore b/.Rbuildignore index 8f94235..a76da6b 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -11,3 +11,11 @@ ^_pkgdown\.yml$ ^docs$ ^pkgdown$ +^CITATION\.cff$ + +## JASP interface +^.editorconfig$ +^inst/help$ +^inst/icons$ +^inst/qml$ +^inst/Description\.qml$ diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c2e7e64 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*] +charset = utf-8 + +[*.{cpp,h,qml,json,md}] +indent_style = tab +indent_size = 4 + +[*.R] +indent_style = space +indent_size = 2 diff --git a/inst/Description.qml b/inst/Description.qml new file mode 100644 index 0000000..785abaf --- /dev/null +++ b/inst/Description.qml @@ -0,0 +1,14 @@ +import QtQuick 2.12 +import JASP.Module 1.0 + +Description +{ + name : "jaspModule" + title : qsTr("Jasp Module") + description : qsTr("This module offers analyses.") + version : "0.1" + author : "JASP Team" + maintainer : "JASP Team " + website : "https://jasp-stats.org" + license : "GPL (>= 2)" +} diff --git a/inst/help/.gitkeep b/inst/help/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/inst/icons/.gitkeep b/inst/icons/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/inst/qml/.gitkeep b/inst/qml/.gitkeep new file mode 100644 index 0000000..e69de29