-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into cboulanger-variables-as-json
- Loading branch information
Showing
5 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# | ||
# This builds the new v6 website documentation and apps | ||
# | ||
|
||
set -o errexit -o nounset | ||
|
||
exe() { echo "\$ ${@/eval/}" ; "$@" ; } | ||
|
||
TARGET=deploy/$(cat ./version.txt) | ||
mkdir -p $TARGET | ||
|
||
[ -d ./node_modules/@qooxdoo/compiler ] || npm i --no-save @qooxdoo/compiler | ||
|
||
# build apps (unless already built) & copy to website target | ||
[ -d ./apps/resource ] || exe npx qx compile compile.json --target build --feedback=0 | ||
exe cp -a ./apps $TARGET | ||
exe find $TARGET -type f -name '*.map' -delete | ||
exe find $TARGET -type f -name '*.json' -delete | ||
exe find $TARGET -type f -name '.*' -delete | ||
exe rm -rf $TARGET/transpiled | ||
|
||
# copy documentation | ||
exe cp -a ./docs $TARGET/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
transpiled | ||
db.json | ||
resource-db.json | ||
versions.json | ||
build-data.json |