Skip to content

Commit

Permalink
Merge pull request #1495 from danieltigse/master
Browse files Browse the repository at this point in the history
automation with grunt
  • Loading branch information
danieltigse authored Jul 23, 2020
2 parents 380e038 + 9bfe7e4 commit 0915266
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 11 deletions.
29 changes: 29 additions & 0 deletions electron_app/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = function(grunt) {

grunt.initConfig({
exec: {
install_dependencies: {
command: 'yarn install'
},
compile_alice: {
command: 'node-gyp configure build',
options: {
cwd: '../signal_interface'
}
},
clean_old_build: {
command: 'yarn clear-build'
},
package_projects: {
command: 'yarn package'
},
create_build: {
command: 'yarn release'
}
}
});

grunt.loadNpmTasks('grunt-exec');
grunt.registerTask('default', ['exec']);

};
4 changes: 3 additions & 1 deletion electron_app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@
"@criptext/criptext-js-tools": "^0.5.2",
"electron": "8.0.0",
"electron-builder": "22.4.0",
"electron-notarize": "^0.1.1"
"electron-notarize": "^0.1.1",
"grunt": "^1.2.1",
"grunt-exec": "^3.0.0"
},
"dependencies": {
"@criptext/api": "^0.17.1",
Expand Down
Loading

0 comments on commit 0915266

Please sign in to comment.