summaryrefslogtreecommitdiffstats
path: root/tasks/config.js
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2017-10-30 09:53:15 +0100
committerArtur <artur@vaadin.com>2017-10-30 11:12:42 +0200
commitece085b3c5109ce784ea66c7a0937d62afc27fe6 (patch)
treebe708822917b6cab340a73add11fe9908b0c225e /tasks/config.js
parent67215b5f4eb16a3bf45038092b9891c13921aa79 (diff)
downloadvaadin-core-ece085b3c5109ce784ea66c7a0937d62afc27fe6.tar.gz
vaadin-core-ece085b3c5109ce784ea66c7a0937d62afc27fe6.zip
Remove gulp tasks
Diffstat (limited to 'tasks/config.js')
-rw-r--r--tasks/config.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/tasks/config.js b/tasks/config.js
deleted file mode 100644
index 521a8ce..0000000
--- a/tasks/config.js
+++ /dev/null
@@ -1,26 +0,0 @@
-var args = require('yargs').argv;
-var fs = require('fs');
-
-var userhome = process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE;
-
-module.exports = {
- version: args.version || 'master',
- permalink: args.version ? 'latest' : '',
- toolsHost: args.toolsHostname || 'tools.vaadin.com',
- paths: {
- staging: {
- bower: 'target/bower',
- cdn: 'target/cdn',
- zip: 'target/zip',
- doc: 'target/docsite'
- },
- userhome: userhome,
- privateKey: function() {
- try {
- return fs.readFileSync(userhome + '/.ssh/id_rsa');
- } catch(error) {
- return fs.readFileSync(userhome + '/.ssh/id_dsa');
- }
- }
- }
-};