aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-04 14:29:15 +0530
committerLibravatar GitHub <noreply@github.com>2021-05-04 08:59:15 +0000
commitc8b0c3cbab61ba06e31f0ab6859449ca11ec39a6 (patch)
treeec08134404b246a39ca598ce906657b560ea4fa5
parentNode downgrade to what's supported by appveyor (#1341) (diff)
downloadferdium-app-c8b0c3cbab61ba06e31f0ab6859449ca11ec39a6.tar.gz
ferdium-app-c8b0c3cbab61ba06e31f0ab6859449ca11ec39a6.tar.zst
ferdium-app-c8b0c3cbab61ba06e31f0ab6859449ca11ec39a6.zip
Added and documented cache setting for travis and appveyor (#1344)
-rw-r--r--.travis.yml9
-rw-r--r--README.md27
-rw-r--r--appveyor.yml2
3 files changed, 36 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index b7cd25117..abd58725e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,9 @@ matrix:
14 - os: osx 14 - os: osx
15 if: branch IN (nightly, release) 15 if: branch IN (nightly, release)
16 osx_image: xcode12 16 osx_image: xcode12
17 env:
18 - ELECTRON_CACHE=$HOME/.cache/electron
19 - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
17 20
18language: node_js 21language: node_js
19node_js: 22node_js:
@@ -25,7 +28,11 @@ branches:
25 - develop 28 - develop
26 - release 29 - release
27 - nightly 30 - nightly
28cache: npm 31cache:
32 directories:
33 - node_modules
34 - $HOME/.cache/electron
35 - $HOME/.cache/electron-builder
29 36
30before_install: 37before_install:
31 - git submodule update --init --recursive 38 - git submodule update --init --recursive
diff --git a/README.md b/README.md
index 8ff73ea6e..75a88adec 100644
--- a/README.md
+++ b/README.md
@@ -33,20 +33,36 @@
33- [Ferdi](#ferdi) 33- [Ferdi](#ferdi)
34 - [Table of contents](#table-of-contents) 34 - [Table of contents](#table-of-contents)
35 - [What is Ferdi?](#what-is-ferdi) 35 - [What is Ferdi?](#what-is-ferdi)
36 - [Features](#features) 36 - [Features](#features)
37 - [What does Ferdi look like?](#what-does-ferdi-look-like) 37 - [What does Ferdi look like?](#what-does-ferdi-look-like)
38 - [Download Ferdi](#download-ferdi) 38 - [Download Ferdi](#download-ferdi)
39 - [Or use Chocolatey (Windows only)](#or-use-chocolatey-windows-only)
39 - [Or use homebrew (macOS only)](#or-use-homebrew-macos-only) 40 - [Or use homebrew (macOS only)](#or-use-homebrew-macos-only)
40 - [Or use AUR (Arch Linux)](#or-use-aur-arch-linux) 41 - [Or use AUR (Arch Linux)](#or-use-aur-arch-linux)
41 - [What makes Ferdi different from Franz?](#what-makes-ferdi-different-from-franz) 42 - [What makes Ferdi different from Franz?](#what-makes-ferdi-different-from-franz)
43 - [Removes unproductive paywalls and other other interruptions](#removes-unproductive-paywalls-and-other-other-interruptions)
44 - [Adds features to increase your productivity](#adds-features-to-increase-your-productivity)
45 - [Adds features to improve your privacy](#adds-features-to-improve-your-privacy)
46 - [Adds features to improve your experience using Ferdi](#adds-features-to-improve-your-experience-using-ferdi)
47 - [Removed bugs](#removed-bugs)
48 - [Adds new platforms](#adds-new-platforms)
49 - [Adds internal changes](#adds-internal-changes)
42 - [Development](#development) 50 - [Development](#development)
43 - [Install OS dependencies](#install-os-dependencies) 51 - [Install OS dependencies](#install-os-dependencies)
52 - [Node.js](#nodejs)
53 - [Git](#git)
54 - [Debian/Ubuntu](#debianubuntu)
55 - [Fedora](#fedora)
56 - [Windows](#windows)
44 - [Clone repository with submodule](#clone-repository-with-submodule) 57 - [Clone repository with submodule](#clone-repository-with-submodule)
58 - [Local caching of dependencies](#local-caching-of-dependencies)
45 - [Install dependencies](#install-dependencies) 59 - [Install dependencies](#install-dependencies)
46 - [Fix native modules to match current electron node version](#fix-native-modules-to-match-current-electron-node-version) 60 - [Fix native modules to match current electron node version](#fix-native-modules-to-match-current-electron-node-version)
61 - [Package recipe repository](#package-recipe-repository)
47 - [Start development app](#start-development-app) 62 - [Start development app](#start-development-app)
48 - [Packaging](#packaging) 63 - [Packaging](#packaging)
49 - [Release](#release) 64 - [Release](#release)
65 - [Nightly releases](#nightly-releases)
50 - [Contributors ✨](#contributors-) 66 - [Contributors ✨](#contributors-)
51 - [Backers via OpenCollective](#backers-via-opencollective) 67 - [Backers via OpenCollective](#backers-via-opencollective)
52 - [Sponsors via OpenCollective](#sponsors-via-opencollective) 68 - [Sponsors via OpenCollective](#sponsors-via-opencollective)
@@ -249,6 +265,15 @@ $ git submodule update --init --recursive
249 265
250It is important you execute the last command to get the required submodules (recipes, server). 266It is important you execute the last command to get the required submodules (recipes, server).
251 267
268
269### Local caching of dependencies
270
271Set these env vars into your profile (or if you use [direnv](https://direnv.net/), you can manage them via the respective `.envrc` file)
272```bash
273export ELECTRON_CACHE=$HOME/.cache/electron
274export ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
275```
276
252### Install dependencies 277### Install dependencies
253 278
254Run the following command to install all dependencies, and link sibling modules with Ferdi. 279Run the following command to install all dependencies, and link sibling modules with Ferdi.
diff --git a/appveyor.yml b/appveyor.yml
index 5aab6e853..98a9825a1 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -8,6 +8,8 @@ skip_branch_with_pr: true
8cache: 8cache:
9 - '%APPDATA%\npm-cache' 9 - '%APPDATA%\npm-cache'
10 - node_modules 10 - node_modules
11 - '%USERPROFILE%\.electron'
12 - '%USERPROFILE%\.electron-builder'
11 13
12image: Visual Studio 2019 14image: Visual Studio 2019
13 15