mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Fixes OSS including EE by providing empty ext dir
This commit is contained in:
parent
90a9291e0d
commit
a999b4250e
4
.github/workflows/docker_latest.yml
vendored
4
.github/workflows/docker_latest.yml
vendored
@ -87,7 +87,7 @@ jobs:
|
||||
load: true
|
||||
tags: ${{ env.DOCKER_HUB_OWNER }}/${{ matrix.image.name }}:${{ env.TAG }}
|
||||
cache-from: type=gha
|
||||
build-contexts: ${{ matrix.image.name != 'grist-oss' && 'ext=ext' || '' }}
|
||||
build-contexts: ext=ext
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }} for testing
|
||||
if: ${{ !inputs.disable_tests }}
|
||||
@ -140,7 +140,7 @@ jobs:
|
||||
tags: ${{ env.DOCKER_HUB_OWNER }}/${{ matrix.image.name }}:${{ env.TAG }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
build-contexts: ${{ matrix.image.name != 'grist-oss' && 'ext=ext' || '' }}
|
||||
build-contexts: ext=ext
|
||||
|
||||
- name: Push Enterprise to Docker Hub
|
||||
if: ${{ matrix.image.name == 'grist' }}
|
||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -80,3 +80,6 @@ xunit.xml
|
||||
.clipboard.lock
|
||||
|
||||
**/_build
|
||||
|
||||
# ext directory can be overwritten
|
||||
ext/**
|
||||
|
@ -14,5 +14,6 @@ pushd $repo
|
||||
git sparse-checkout set ext
|
||||
git checkout
|
||||
popd
|
||||
rm -rf ./ext
|
||||
mv $repo/ext .
|
||||
rm -rf $repo
|
||||
|
5
ext/README.md
Normal file
5
ext/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
`ext` is a directory that allows derivatives of Grist core to be created, without modifying any of the base files.
|
||||
|
||||
Files placed in here should be new files, or replacing files in the `stubs` directory.
|
||||
|
||||
When compiling, Typescript resolves files in `ext` before files in `stubs`, using the `ext` file instead (if it exists).
|
Loading…
Reference in New Issue
Block a user