Skip to content

Commit

Permalink
Merge 1b75c2b into cd7cb2c
Browse files Browse the repository at this point in the history
  • Loading branch information
hkollmann committed Jun 28, 2019
2 parents cd7cb2c + 1b75c2b commit 8433479
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 9,400 deletions.
24 changes: 10 additions & 14 deletions .travis/deploy_npm
Expand Up @@ -33,29 +33,25 @@ if [ "{TRAVIS_TAG:-}" != "$FRAMEWORK_VERSION" ]; then
exe tool/admin/bin/bumpqxversion.py $TAG_VERSION
fi

exe nvm -v
exe nvm install 11
exe node -v
exe npm -v
exe npm -v

exe npm install
# compile framework
exe npx qx --version
exe npm update --no-save @qooxdoo/compiler
exe npx qx --version
exe npm install --no-save @qooxdoo/compiler

exe npx qx --version
exe npx qx pkg install -v
# compile server first, compile.js of demobrowser runs npm install which will update all packages
exe npx qx compile compileServer.json --target build -v
exe npx qx compile compile.json --target build -v

#compile everything
exe npx qx compile compileServer.json --target build
exe npx qx compile compile.json --target build
#remove unnecessary stuff
exe rm -rf ./apps/transpiled
exe find ./apps -type f -name '*.map' -delete
#copy source
exe mkdir -p source
exe cp -rf ./framework/source/* ./source


# fill .npmrc with access token
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN:-}" > ~/.npmrc
# publish to npm
exe npm publish --access public --verbose
exe npm publish --access public

11 changes: 11 additions & 0 deletions .travis/prepare_npm
@@ -1,4 +1,15 @@
#!/bin/bash

exe() { echo "\$ ${@/eval/}" ; "$@" ; }

#exe curl -o ~/.nvm/nvm.sh https://raw.githubusercontent.com/creationix/nvm/v0.31.0/nvm.sh
#exe ~/.nvm/nvm --version
#exe ~/.nvm/nvm install 11

exe npm i -g npm
exe node -v
exe npm -v

files=$(find . -name package.json -print | grep -v node_modules | sort)

for f in ${files}; do
Expand Down

0 comments on commit 8433479

Please sign in to comment.