mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
bump version to 1.9.19 and update branding display name variable; remove obsolete test files
Some checks failed
CI / general (push) Has been cancelled
Some checks failed
CI / general (push) Has been cancelled
This commit is contained in:
parent
414c9c0d94
commit
7e928eb3cc
7 changed files with 3 additions and 56 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@zen-browser/surfer",
|
||||
"version": "1.9.18",
|
||||
"version": "1.9.19",
|
||||
"description": "Simplifying building firefox forks!",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
import { getPatchName } from './export-file'
|
||||
|
||||
describe('getPatchName', () => {
|
||||
it('works on root files', () => {
|
||||
const name = getPatchName('foo.js')
|
||||
expect(name).toBe('foo-js.patch')
|
||||
})
|
||||
|
||||
it('works on embedded files', () => {
|
||||
const name = getPatchName('foo/bar.js')
|
||||
expect(name).toBe('bar-js.patch')
|
||||
})
|
||||
})
|
|
@ -162,7 +162,7 @@ function getCurrentBrandName(): string {
|
|||
return 'Nightly'
|
||||
}
|
||||
|
||||
return config.brands[brand].brandFullName
|
||||
return config.brands[brand].brandShortName
|
||||
}
|
||||
|
||||
async function createMarFile(
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
import { shouldSkipOptionalCopy } from './setup-project'
|
||||
|
||||
describe('shouldSkipOptionalCopy', () => {
|
||||
it('Returns true if the file is not optional', () => {
|
||||
expect(
|
||||
shouldSkipOptionalCopy('something/somethingelse', ["doesn't matter"])
|
||||
).toBe(true)
|
||||
})
|
||||
|
||||
it('Returns true if the file is not in the array', () => {
|
||||
expect(
|
||||
shouldSkipOptionalCopy('something/somethingelse.optional', ['not_here'])
|
||||
).toBe(true)
|
||||
})
|
||||
|
||||
it('Returns false if the file is optional and in the array', () => {
|
||||
expect(
|
||||
shouldSkipOptionalCopy('something/somethingelse.optional', ['something'])
|
||||
).toBe(false)
|
||||
})
|
||||
})
|
|
@ -1,15 +0,0 @@
|
|||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
import { validProducts } from './config'
|
||||
import { getLatestFF } from './version'
|
||||
|
||||
const firefoxVersions = validProducts
|
||||
|
||||
describe('getLatestFF', () => {
|
||||
for (const firefoxVersion of firefoxVersions) {
|
||||
it(`returns the latest ${firefoxVersion} version`, async () =>
|
||||
expect(await getLatestFF(firefoxVersion)).toBeTruthy())
|
||||
}
|
||||
})
|
|
@ -2,7 +2,7 @@
|
|||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
MOZ_APP_DISPLAYNAME="${brandFullName}"
|
||||
MOZ_APP_DISPLAYNAME="${brandShortName}"
|
||||
|
||||
if test "$DEVELOPER_OPTIONS"; then
|
||||
if test "$MOZ_DEBUG"; then
|
||||
|
|
|
@ -3,7 +3,6 @@ export MOZ_USER_DIR="${name}"
|
|||
export MOZ_APP_VENDOR="${vendor}"
|
||||
export MOZ_APP_BASENAME=${binName}
|
||||
export MOZ_APP_PROFILE=${binName}
|
||||
export MOZ_APP_DISPLAYNAME="${name}"
|
||||
export MOZ_MACBUNDLE_ID=${appId}
|
||||
export MOZ_DISTRIBUTION_ID=${appId}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue