From 785408bff66219e62ed26c703ccca89d60c767f0 Mon Sep 17 00:00:00 2001 From: Josafá Filho Date: Mon, 18 Jan 2016 22:22:48 -0200 Subject: [PATCH] Ajusta link para pasta com a documentação da API Atualiza informações da API --- docs/swagger.yaml | 3 +++ post-update.sh | 4 +++- pre-update.sh | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 3fcd6b2..a94ded2 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -91,6 +91,9 @@ definitions: url: type: string description: URL de download da publicação + file_size: + type: number + description: Tamanho do arquivo de publicação em bytes Error: type: object properties: diff --git a/post-update.sh b/post-update.sh index de67b75..2ab9251 100755 --- a/post-update.sh +++ b/post-update.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + cp config/wp-config-vagrant.php src/wp-config.php cp config/htaccess-vagrant src/.htaccess cp config/file-remote.php src/file-remote.php @@ -5,4 +7,4 @@ cp config/index-vagrant.php src/index.php rm -f src/wp/index.php ln -s wp/wp-admin src/wp-admin ln -s wp/wp-includes src/wp-includes -ln -s docs src/docs \ No newline at end of file +ln -s ../docs docs \ No newline at end of file diff --git a/pre-update.sh b/pre-update.sh index fb0cd92..98e9be8 100755 --- a/pre-update.sh +++ b/pre-update.sh @@ -1,2 +1,3 @@ #!/usr/bin/env bash + rm -rf src/wp-admin src/wp-includes src/*.php src/.htaccess src/docs \ No newline at end of file -- libgit2 0.21.2