mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Include bundled extensions in package.json (#6715)
* bundle extensions to asar Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * make build fix Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
146cae0b1c
commit
012944d562
12 files changed
+55
-108
No files matched your search
@@ -69,6 +69,7 @@ $(extension_node_modules): node_modules
|
||||
|
||||
$(extension_dists): src/extensions/npm/extensions/dist $(extension_node_modules)
|
||||
cd $(@:/dist=) && ../../node_modules/.bin/npm run build
|
||||
rm -rf ./node_modules/$(shell basename $(@:/dist=))
|
||||
|
||||
.PHONY: clean-old-extensions
|
||||
clean-old-extensions:
|
||||
@@ -76,6 +77,7 @@ clean-old-extensions:
|
||||
|
||||
.PHONY: build-extensions
|
||||
build-extensions: node_modules clean-old-extensions $(extension_dists)
|
||||
yarn install --check-files --frozen-lockfile --network-timeout=100000
|
||||
|
||||
.PHONY: test-extensions
|
||||
test-extensions: $(extension_node_modules)
|
||||
|
||||
Reference in new issue
Block a user