Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #41 from stellar/setup-bower
Browse files Browse the repository at this point in the history
Setup bower
  • Loading branch information
Jared Deckard committed Oct 1, 2014
2 parents 8160f3e + 254583e commit 0eb79cc
Show file tree
Hide file tree
Showing 5 changed files with 25,392 additions and 9 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

# Ignore object files.
*.o
build/*
tags
bin/rippled
Debug/*.*
Expand Down
8 changes: 4 additions & 4 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ gulp.task('build', [ ], function(callback) {
output: {
library: 'stellar',
path: './build/',
filename: [ 'stellar-', '.js' ].join(pkg.version)
filename: 'stellar-lib.js'
},
}, callback);
});

gulp.task('build-min', [ 'build' ], function(callback) {
return gulp.src([ './build/ripple-', '.js' ].join(pkg.version))
return gulp.src('./build/stellar-lib.js')
.pipe(uglify())
.pipe(rename([ 'stellar-', '-min.js' ].join(pkg.version)))
.pipe(rename('stellar-lib-min.js'))
.pipe(gulp.dest('./build/'));
});

Expand All @@ -41,7 +41,7 @@ gulp.task('build-debug', [ ], function(callback) {
output: {
library: 'stellar',
path: './build/',
filename: [ 'stellar-', '-debug.js' ].join(pkg.version)
filename: 'stellar-lib-debug.js'
},
debug: true,
devtool: 'eval'
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "stellar-lib",
"version": "0.9.2",
"version": "0.9.4",
"homepage": "https://github.com/stellar/stellar-lib",
"description": "Stellar JavaScript client library",
"main": "build/stellar-0.9.2.js",
"main": "build/stellar-lib.js",
"keywords": [
"stellar",
"javascript",
Expand Down
Loading

0 comments on commit 0eb79cc

Please sign in to comment.