Skip to content

Commit

Permalink
Add javascript
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Jul 22, 2021
1 parent 301d8d4 commit 30d6956
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,43 @@ package_name=$(app_name)
cert_dir=$(HOME)/.nextcloud/certificates
version+=master

all: appstore
all: dev-setup build-js-production

dev-setup: clean clean-dev npm-init

npm-init:
npm ci

npm-update:
npm update

release: appstore create-tag

create-tag:
git tag -a v$(version) -m "Tagging the $(version) release."
git push origin v$(version)

build-js:
npm run dev

build-js-production:
npm run build

lint:
npm run lint

lint-fix:
npm run lint:fix

watch-js:
npm run watch

clean:
rm -rf $(build_dir)

clean-dev:
rm -rf node_modules

appstore: clean
mkdir -p $(sign_dir)
rsync -a \
Expand Down

0 comments on commit 30d6956

Please sign in to comment.