Skip to content

Commit

Permalink
fix(build): mainnet configuration was build with testnet settings
Browse files Browse the repository at this point in the history
  • Loading branch information
beregovoy68 committed Nov 29, 2016
1 parent a11c7af commit 39a5b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,13 @@ module.exports = function (grunt) {
{expand: true, flatten: true, src: '<%= meta.stylesheets %>', dest: 'distr/<%= meta.configurations.mainnet.name %>/css'},
{expand: true, src: '<%= meta.licenses %>', dest: 'distr/<%= meta.configurations.mainnet.name %>'},
{expand: true, cwd: 'src', src: '<%= meta.content %>', dest: 'distr/<%= meta.configurations.mainnet.name %>'},
{expand: true, flatten: true, src: 'distr/<%= pkg.name %>-<%= meta.configurations.testnet.name %>-<%= pkg.version %>.js', dest: 'distr/<%= meta.configurations.mainnet.name %>/js'}
{expand: true, flatten: true, src: 'distr/<%= pkg.name %>-<%= meta.configurations.mainnet.name %>-<%= pkg.version %>.js', dest: 'distr/<%= meta.configurations.mainnet.name %>/js'}
],
options: {
process: function (content, srcPath) {
if (srcPath.endsWith('index.html'))
return patchHtml(content,
grunt.template.process('<%= pkg.name %>-<%= meta.configurations.testnet.name %>-<%= pkg.version %>.js'));
grunt.template.process('<%= pkg.name %>-<%= meta.configurations.mainnet.name %>-<%= pkg.version %>.js'));

return content;
}
Expand Down

0 comments on commit 39a5b0d

Please sign in to comment.