mothepro / mo-compiler
将文件从本地机器移动到服务器
v1.1
2015-08-12 01:04 UTC
Requires
- php: >=5.4.0
- apigen/apigen: ^4.1
- nette/neon: *
- tpyo/amazon-s3-php-class: *
This package is not auto-updated.
Last update: 2024-09-28 18:47:40 UTC
README
将文件从本地机器移动到服务器
Neon 文件可以保存使用命令行参数长名称的选项。连字符是子键。
例如,命令行选项 --project-remote /var/www
与 neon 配置选项相同
project:
remote: /var/www
###必需选项 -c 要使用的配置文件 --host 编译到的服务器的主机名 --ppk 连接到服务器的 PPK 文件位置 --project-remote 上传项目的远程目录
###可选选项 --project-local 加载项目的本地目录 [工作目录] --project-files 从本地移动到远程的目录
--twig Twig Template Directory
--apigen Documentation Configuration
--compress Compress static files
--verbose Level to output
0 = Silent
1 = Name of Job
2 = Duration of Job
3 = Commands run in command line
--upload-sass Local SASS Directory
--upload-js Local JS Directory
--upload-img Local Image Directory
--upload-* Local Static Directory
--s3-key Amazon S3 Access Key Activates compression
--s3-secret Amazon S3 Secret Key
--download-sass Remote Directory to save sass on server or S3
--download-js Remote Directory to save js on server or S3
--download-img Remote Directory to save images on server or
--download-* Remote Static Directory to match --local-*
--hooks-post Remote Commands to run after uploading
--constants List of constants used throughout app
--constantsOutput Where to save new constants
如果想要在构建过程中隐藏一些配置设置,则选项非常有用。 --s3-secret ImNotGoingOnTheVCS