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
build: | |
image: itkaboom/drone-nodejs | |
commands: | |
- source ~/.nvm/nvm.sh && nvm use v4.2 | |
- npm --version | |
- npm install --loglevel verbose --global --unsafe-perm 'gulp@3.9.0' jspm babel babel-core systemjs browser-sync | |
- jspm config registries.github.auth '$$JSPM_GITHUB_AUTH_TOKEN' | |
- npm install --production --unsafe-perm | |
- gulp release | |
environment: |
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
[info] Pulling image plugins/drone-git:latest | |
Drone Git Plugin built from 8be7aa9 | |
$ git init | |
Initialized empty Git repository in /drone/src/bitbucket.org/kepkin/imigo-front-test-drone/.git/ | |
$ git remote add origin https://bitbucket.org/kepkin/imigo-front-test-drone.git | |
$ git fetch --no-tags --depth=50 origin +refs/heads/drone_build: | |
From https://bitbucket.org/kepkin/imigo-front-test-drone | |
* branch drone_build -> FETCH_HEAD | |
* [new branch] drone_build -> origin/drone_build | |
$ git reset --hard -q b38eb9b6de13d86efd97b19152390362a6e0627c |
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
ARGS=() | |
if [ "$(uname -o)" == "Cygwin" ]; then | |
for arg in "$@" | |
do | |
if [ "${arg:0:1}" == "/" ]; then | |
arg=$(cygpath -w $arg) | |
fi | |
ARGS+=($arg) |
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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |