mirror of
https://github.com/open-webui/assistant
synced 2025-05-12 07:50:34 +00:00
Merge pull request #2 from justinh-rahb/make
Add Makefile to install/clean
This commit is contained in:
commit
4b874f2284
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.PHONY: all clean install
|
||||||
|
|
||||||
|
.DEFAULT_GOAL := all
|
||||||
|
|
||||||
|
all:
|
||||||
|
npm i
|
||||||
|
rm -f node_modules/@jimp/core/node_modules/.bin/mkdirp
|
||||||
|
rm -f node_modules/execa/node_modules/.bin/semver
|
||||||
|
rm -f node_modules/execa/node_modules/.bin/which
|
||||||
|
npm run make
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf node_modules
|
||||||
|
|
||||||
|
install:
|
||||||
|
xattr -c out/open-webui-assistant-darwin-arm64/open-webui-assistant.app
|
||||||
|
mv out/open-webui-assistant-darwin-arm64/open-webui-assistant.app ~/Applications/Open\ WebUI\ Assistant.app
|
Loading…
Reference in New Issue
Block a user