Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build tools for AMO submissions #441

Merged
merged 7 commits into from Aug 26, 2019

update AMO readme and remove sourcemaps from builder

  • Loading branch information
christophertino committed Aug 24, 2019
commit eb4500d0fc0fccd6fa9bc7c6f45fd4f430089415
@@ -135,12 +135,11 @@ Ghostery implements the following open-source products from [Cliqz](https://cliq
+ [GitHub](https://github.com/cliqz-oss/browser-core/blob/master/modules/offers-v2)

### Building Cliqz Modules for Ghostery
Cliqz modules are pre-built and included under the `browser-core` NPM dependency in [package.json](package.json). To reproduce this build process, grab the appropriate Ghostery release (v7.x.x) from the [browser-core](https://github.com/cliqz-oss/browser-core/releases) project.
Cliqz modules are pre-built and included under the `browser-core` NPM dependency in [package.json](package.json). To reproduce this build process, download the appropriate Ghostery release (v7.x.x) from the [browser-core](https://github.com/cliqz-oss/browser-core/releases) project.

```sh
$ npm install
$ ./fern.js build configs/ghostery.js --no-maps --environment=production
$ ./fern.js pack configs/ghostery.js
$ npm ci
$ ./fern.js build configs/ghostery.js --no-maps --no-debug --environment=production
```

## Compatibility
@@ -37,6 +37,6 @@ Compiled assets live in the `ghostery-extension-X.X.X/dist/` folder. Assets from
]
```

## `generate.sh` (Not included in submission)
## `generate.sh`

Fetches source code from GitHub and packages it along with `build.sh` and this README. This creates the complete source code archive that Ghostery sends along with its AMO submissions.
@@ -111,13 +111,13 @@ test -d $BUILD_DIR || mkdir $BUILD_DIR && \
app/hub/\* \
app/shared-components/\* \
build/\* \
dist/*.js.map \
docs/\* \
node_modules/\* \
src/\* \
test/\* \
tools/\* \
*.log \
*.map \
*.md \
babel.config.js \
CODEOWNERS \
ProTip! Use n and p to navigate between commits in a pull request.