Give libtextsecure its own components (with way fewer deps)
This commit is contained in:
parent
899d756469
commit
07899557dc
7 changed files with 18237 additions and 11 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue