Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 23e3cda

Browse files
committed
πŸ“Œ Use NPM version of gluon
* πŸ“Œ Use NPM version of gluon * ⬆️ Bump gluon to `1.0.0-rc.2` * πŸ“„ Add license headers * πŸ’š License check no longer fixes by default
1 parent 0a50da1 commit 23e3cda

File tree

16 files changed

+367
-635
lines changed

16 files changed

+367
-635
lines changed

β€Ž.github/workflows/addons.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
submodules: recursive
1717

1818
- name: Setup Gluon
19-
run: yarn && yarn setupLink
19+
run: yarn
2020

2121
- name: Load config
2222
run: yarn gluon ci --brand ${GITHUB_REF##*/}

β€Ž.github/workflows/alpha.ymlβ€Ž

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ jobs:
1919
- name: Setup gluon
2020
run: |
2121
yarn
22-
yarn setupLink
2322
24-
cd gluon
23+
cd gluon
2524
npm i -g . --force
2625
cd ..
2726
@@ -126,7 +125,7 @@ jobs:
126125
127126
- name: Setup gluon
128127
run: |
129-
yarn && yarn setupLink
128+
yarn
130129
131130
- name: Load gluon CI setup
132131
run: yarn gluon ci --brand alpha --display-version ${{ needs.build-data.outputs.version }}
@@ -212,7 +211,7 @@ jobs:
212211
key: ${{ runner.os }}-sccache
213212

214213
- name: Setup gluon
215-
run: yarn && yarn setupLink
214+
run: yarn
216215

217216
- name: Load gluon CI setup
218217
run: yarn gluon ci -- --brand alpha --display-version ${{ needs.build-data.outputs.version }}
@@ -273,7 +272,7 @@ jobs:
273272
git config --global user.name "TrickyPR"
274273
275274
- name: Setup gluon
276-
run: yarn && yarn setupLink
275+
run: yarn
277276

278277
- name: Load gluon CI setup
279278
run: yarn gluon ci -- --brand alpha --display-version ${{ needs.build-data.outputs.version }}
@@ -310,11 +309,6 @@ jobs:
310309
run: |
311310
yarn
312311
313-
- name: Build gluon
314-
shell: bash --noprofile --norc -eo pipefail {0}
315-
run: |
316-
yarn setupLink:win
317-
318312
- name: Load gluon CI setup
319313
run: yarn gluon ci -- --brand alpha --display-version ${{ needs.build-data.outputs.version }}
320314

β€Ž.github/workflows/beta.ymlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
submodules: recursive
1818

1919
- name: Setup melon
20-
run: yarn && yarn setupLink
20+
run: yarn
2121

2222
- name: Export release data
2323
id: data
@@ -115,7 +115,7 @@ jobs:
115115
ls /opt/wasi-sdk/share/wasi-sysroot
116116
117117
- name: Setup melon
118-
run: yarn && yarn setupLink
118+
run: yarn
119119

120120
- name: Download firefox source and dependancies
121121
run: yarn download
@@ -273,7 +273,7 @@ jobs:
273273
cargo --version
274274
275275
- name: Setup melon
276-
run: yarn && yarn setupLink
276+
run: yarn
277277

278278
- name: Download firefox source and dependancies
279279
run: yarn download
@@ -320,7 +320,7 @@ jobs:
320320
git config --global user.name "TrickyPR"
321321
322322
- name: Setup melon
323-
run: yarn && yarn setupLink
323+
run: yarn
324324

325325
- name: Download firefox source and dependancies
326326
run: yarn download

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
submodules: recursive
1717

1818
- name: Setup Melon
19-
run: yarn && yarn setupLink
19+
run: yarn
2020

2121
- name: Check license
22-
run: yarn licenseCheck --no-fix
22+
run: yarn licenseCheck

β€Ž.gitmodulesβ€Ž

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
11

2-
[submodule "melon"]
3-
path = gluon
4-
url = https://github.com/focus-browser/build

β€Žgluonβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
77
"license": "MPL-2.0",
88
"private": true,
99
"dependencies": {
10-
"melon-build": "^1.0.0-a.10"
10+
"gluon-build": "^1.0.0-rc.2"
1111
},
1212
"scripts": {
13-
"setupLink": "cd gluon && yarn && yarn build && yarn link && cd .. && yarn link gluon-build",
14-
"setupLink:win": "cd gluon && yarn && yarn build:win && yarn link && cd .. && yarn link gluon-build",
1513
"build": "gluon build",
1614
"build:ui": "gluon build --ui",
1715
"bs": "yarn build && yarn start",
@@ -21,8 +19,6 @@
2119
"imp": "gluon import",
2220
"clearProfile": "rm -rf engine/obj-x86_64-pc-linux-gnu/tmp/profile-default",
2321
"download": "gluon download",
24-
"rebuild": "cd gluon && yarn build && cd ..",
25-
"rebuild:win": "cd gluon && yarn build:win && cd ..",
2622
"package": "gluon package",
2723
"ff-version": "gluon ff-version",
2824
"licenseCheck": "gluon license-check",

β€Žsrc/browser/base/content/aboutDialog.jsβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// This Source Code Form is subject to the terms of the Mozilla Public
2+
// License, v. 2.0. If a copy of the MPL was not distributed with this
3+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
14
var { Services } = ChromeUtils.import('resource://gre/modules/Services.jsm')
25
var { AppConstants } = ChromeUtils.import(
36
'resource://gre/modules/AppConstants.jsm'

β€Žsrc/browser/components/welcome/migrate.dark.svgβ€Ž

Lines changed: 5 additions & 0 deletions
Loading

β€Žsrc/browser/components/welcome/migrate.light.svgβ€Ž

Lines changed: 5 additions & 0 deletions
Loading

0 commit comments

Comments
Β (0)