Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jairajs89 committed Sep 18, 2014
1 parent 0648002 commit 8c4589d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ buildProject () {
"
APP_CSS="src/stylesheets/base.css"
buildDebugJS "app.js" "${APP_JS}"
buildDebugNoLicenseJS "app.js" "${APP_JS}"
buildJS "app.min.js" "${APP_JS}"
buildDebugCSS "base.css" "${APP_CSS}"
buildCSS "base.min.css" "${APP_CSS}"
Expand Down Expand Up @@ -104,6 +105,12 @@ buildDebugJS () {
preprendLicense "${fileName}"
}

buildDebugNoLicenseJS () {
echo "Building ${1}"
fileName="${BUILD_DIR}/${1}"
cat ${2} | sed "s/DEVBUILD/${VERSION}/" > "${fileName}"
}

buildCSS () {
echo "Building ${1}"
fileName="${BUILD_DIR}/${1}"
Expand Down

0 comments on commit 8c4589d

Please sign in to comment.