Alex Trofimov 5 年 前
親
コミット
5fa432c252
3 ファイル変更、15 行追加、0 行削除
  1. 2 0
      .gitignore
  2. 3 0
      build.xml
  3. 10 0
      composer.json

+ 2 - 0
.gitignore

@@ -4,6 +4,7 @@ cache/*
 cache_public/*
 tmp/*
 logs/*
+plugins/*
 
 # Exclude main config file
 inc/header*
@@ -23,6 +24,7 @@ cs_fixer_tmp*
 
 # Exclude tests files
 build.properties
+composer.phar
 tests/vendor
 tests/composer.phar
 samples/img/*

+ 3 - 0
build.xml

@@ -56,6 +56,9 @@
         <exclude name="inc/header*" />
         <exclude name="build.xml" />
         <exclude name="build.properties" />
+        <exclude name="composer.json" />
+        <exclude name="composer.lock" />
+        <exclude name="composer.phar" />
         <exclude name="storage/**/*" />
         <exclude name="samples/**" />
         <exclude name="scripts/**" />

+ 10 - 0
composer.json

@@ -1,4 +1,13 @@
 {
+    "name": "unaio/una",
+    "description": "UNA - Community Management System",
+    "license": "MIT",
+    "authors": [
+        {
+            "name": "UNA, Inc",
+            "homepage": "https://una.io"
+        }
+    ],
     "config": {
         "vendor-dir": "plugins"
     },
@@ -61,6 +70,7 @@
         }
     ],
     "require": {
+        "php": ">=5.6",
         "akeeba/s3": "dev-main",
         "achingbrain/php5-akismet": "0.5",
         "unaio/amazon-s3-php-class-hmac-v2": "*",