Skip to content

Commit

Permalink
Minor build script fixes
Browse files Browse the repository at this point in the history
- Copy all example/ and welcome/ files (previously missed .md files)
- Make sure any existing config.php in the example server folder is not deployed
  • Loading branch information
bmoeskau committed Sep 11, 2013
1 parent 346d0ae commit c07c4d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions build/build.bat
Expand Up @@ -49,6 +49,9 @@ xcopy /y /q "%EXTENSIBLE_ROOT%\*.html" "%EXTENSIBLE_OUTPUT%\%VER%" > nul
xcopy /y /q "%EXTENSIBLE_ROOT%\*.txt" "%EXTENSIBLE_OUTPUT%\%VER%" > nul
xcopy /y /q "%EXTENSIBLE_ROOT%\*.md" "%EXTENSIBLE_OUTPUT%\%VER%" > nul

:: The example config.php file should not exist, make sure of it
if exists "%EXTENSIBLE_OUTPUT%\%VER%\examples\server\php\config.php" del "%EXTENSIBLE_OUTPUT%\%VER%\examples\server\php\config.php"

:: The docs have now been converted to JSDuck. This assumes that JSDuck is installed
:: correctly and available in the system path (or the jsduck.exe copied into this directory)
:: - Installation: https://github.com/senchalabs/jsduck/wiki/Installation
Expand Down
3 changes: 3 additions & 0 deletions build/build.sh
Expand Up @@ -65,6 +65,9 @@ cp $EXTENSIBLE_ROOT/*.html $EXTENSIBLE_OUTPUT/$VER
cp $EXTENSIBLE_ROOT/*.txt $EXTENSIBLE_OUTPUT/$VER
cp $EXTENSIBLE_ROOT/*.md $EXTENSIBLE_OUTPUT/$VER

# The example config.php file should not exist, make sure of it
rm $EXTENSIBLE_OUTPUT/$VER/examples/server/php/config.php

# The docs have now been converted to JSDuck. This assumes that JSDuck is installed
# correctly and available in the system path.
# - Installation: https://github.com/senchalabs/jsduck/wiki/Installation
Expand Down
4 changes: 2 additions & 2 deletions build/resources/extensible.jsb2
Expand Up @@ -205,11 +205,11 @@
},{
"src": "../../examples/",
"dest": "examples/",
"filters": ".*[\\.html|\\.jpg|\\.png|\\.gif|\\.css|\\.js|\\.php]"
"filters": ".*"
},{
"src": "../../welcome/",
"dest": "welcome/",
"filters": ".*[\\.html|\\.jpg|\\.png|\\.gif|\\.css|\\.js|\\.php]"
"filters": ".*"
},{
"src": "../../resources/",
"dest": "resources/",
Expand Down

0 comments on commit c07c4d6

Please sign in to comment.