diff --git a/commit-stage.sh b/commit-stage.sh new file mode 100755 index 0000000..0fd4937 --- /dev/null +++ b/commit-stage.sh @@ -0,0 +1,19 @@ +#!/bin/bash +set -e +set -u +set -x + +# it would be good to not run the build if: +# +# * there are no changes in the source files used in the concatenator.js file +# * there haven't been any changes in this repo +# +# since the last build done by jenkins. To achieve this you might get the date +# of the last jenkins commit in this repo, and do git log --since 'that date' +# and check if there have been any commit or not. + +cd "$(dirname "$0")" + +echo "Generating spiceproxy.js" + +spiceproxy/concatenator.js spice-web-client diff --git a/package.json b/package.json new file mode 100644 index 0000000..3a21da4 --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "eyeos-spiceproxy", + "version": "0.0.156", + "description": "spice client network stack library", + "main": "src/spiceproxy.js", + "author": "eyeOS", + "homepage": "http://www.eyeos.com", + "dependencies": { + }, + "devDependencies": { + "eyeos-gruntfile": "*", + "grunt": "0.4.5", + "grunt-init": "0.3.2", + "mocha": "2.4.5" + } +} diff --git a/sonar.properties b/sonar.properties new file mode 100644 index 0000000..d9c7c19 --- /dev/null +++ b/sonar.properties @@ -0,0 +1,13 @@ +sonar.projectKey=spiceproxy +sonar.projectName=spiceproxy +sonar.projectVersion=1.0.0 +sonar.sources=src +sonar.language=js +sonar.dynamicAnalysis=reuseReports +sonar.javascript.jstest.reportsPath=build/reports +sonar.javascript.lcov.reportPath=build/reports/lcov.info +sonar.exclusions=**/node_modules/**/*, \ + **/test/**/*, \ + **/component-test/**/*, \ + **/build/**/*, \ + **/doc/**/*