From 422154f902046b989b52a1834341e5baecdfa78d Mon Sep 17 00:00:00 2001 From: Netkas Date: Thu, 30 Mar 2023 15:26:15 -0400 Subject: [PATCH] Initial Commit --- .gitignore | 1 + .idea/.gitignore | 8 ++++++ .idea/federationlib.iml | 11 +++++++++ .idea/inspectionProfiles/Project_Default.xml | 26 ++++++++++++++++++++ .idea/modules.xml | 8 ++++++ .idea/php.xml | 18 ++++++++++++++ .idea/runConfigurations/Build.xml | 10 ++++++++ .idea/runConfigurations/Clean.xml | 8 ++++++ .idea/runConfigurations/Install.xml | 10 ++++++++ .idea/vcs.xml | 6 +++++ Makefile | 8 ++++++ project.json | 26 ++++++++++++++++++++ src/FederationLib/FederationLib.php | 8 ++++++ src/README.md | 3 +++ 14 files changed, 151 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/federationlib.iml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/php.xml create mode 100644 .idea/runConfigurations/Build.xml create mode 100644 .idea/runConfigurations/Clean.xml create mode 100644 .idea/runConfigurations/Install.xml create mode 100644 .idea/vcs.xml create mode 100644 Makefile create mode 100644 project.json create mode 100644 src/FederationLib/FederationLib.php create mode 100644 src/README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d163863 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/ \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/federationlib.iml b/.idea/federationlib.iml new file mode 100644 index 0000000..4126d6f --- /dev/null +++ b/.idea/federationlib.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..ea8af9c --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,26 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..0d5a0df --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..2c7445e --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Build.xml b/.idea/runConfigurations/Build.xml new file mode 100644 index 0000000..a601571 --- /dev/null +++ b/.idea/runConfigurations/Build.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Clean.xml b/.idea/runConfigurations/Clean.xml new file mode 100644 index 0000000..e088b48 --- /dev/null +++ b/.idea/runConfigurations/Clean.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Install.xml b/.idea/runConfigurations/Install.xml new file mode 100644 index 0000000..1fb616b --- /dev/null +++ b/.idea/runConfigurations/Install.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6d54d9b --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +clean: + if [ -d build ]; then rm -rf build; fi + +build: + ncc build --build-configuration release --log-level debug + +install: + sudo ncc package install -p "build/release/net.nosial.federationlib.ncc" --reinstall --skip-dependencies --log-level debug -y \ No newline at end of file diff --git a/project.json b/project.json new file mode 100644 index 0000000..6168f6d --- /dev/null +++ b/project.json @@ -0,0 +1,26 @@ +{ + "project": { + "compiler": { + "extension": "php", + "minimum_version": "8.0", + "maximum_version": "8.2" + }, + "options": [] + }, + "assembly": { + "name": "FederationLib", + "package": "net.nosial.federationlib", + "version": "1.0.0", + "uuid": "2fb017d4-cf2f-11ed-8cee-b7943a7c7304" + }, + "build": { + "source_path": "src", + "default_configuration": "release", + "configurations": [ + { + "name": "release", + "output_path": "build/release" + } + ] + } +} \ No newline at end of file diff --git a/src/FederationLib/FederationLib.php b/src/FederationLib/FederationLib.php new file mode 100644 index 0000000..ca3a184 --- /dev/null +++ b/src/FederationLib/FederationLib.php @@ -0,0 +1,8 @@ +