Give libtextsecure its own components (with way fewer deps)

This commit is contained in:
Matt Corallo 2015-01-13 15:23:11 -10:00
parent 899d756469
commit 07899557dc
7 changed files with 18237 additions and 11 deletions

View file

@ -10,6 +10,11 @@ module.exports = function(grunt) {
components.push('components/' + bower.concat.app[i] + '/**/*.js');
}
var libcomponents = [];
for (i in bower.concat.lib) {
libcomponents.push('components/' + bower.concat.lib[i] + '/**/*.js');
}
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
@ -17,6 +22,10 @@ module.exports = function(grunt) {
src: components,
dest: 'js/components.js',
},
libcomponents: {
src: libcomponents,
dest: 'libtextsecure/components.js',
},
curve25519: {
src: [
'build/curve25519_compiled.js',