Skip to content

Commit

Permalink
Add files required for the CI
Browse files Browse the repository at this point in the history
This is for the eyeOS CI, which will be made public fairly soon.
  • Loading branch information
Vishesh Handa committed May 2, 2016
1 parent f4b1baa commit 8703c53
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
19 changes: 19 additions & 0 deletions commit-stage.sh
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
13 changes: 13 additions & 0 deletions sonar.properties
Original file line number Diff line number Diff line change
@@ -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/**/*

0 comments on commit 8703c53

Please sign in to comment.