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

Move admin settings to src/ folder #2331

Merged
merged 12 commits into from
Oct 21, 2019
5 changes: 0 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
# commands:
# - make npm-init
# - ./check-vuejs-builds.sh
# - name: check-handlebars-templates
# image: node:lts
# commands:
# - make npm-init
# - ./check-handlebars-templates.sh
#
#trigger:
# branch:
Expand Down
31 changes: 4 additions & 27 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,57 +15,37 @@ all: dev-setup build-js-production

dev-setup: clean-dev npm-init

dependabot: dev-setup npm-update build-js-production compile-handlebars-templates bundle-simplewebrtc
dependabot: dev-setup npm-update build-js-production bundle-simplewebrtc

release: appstore create-tag

build-js:
npm run dev
cd vue/ && npm run dev

build-js-production:
npm run build
cd vue/ && npm run build

watch-js:
npm run watch
cd vue/ && npm run watch

lint:
npm run lint
cd vue/ && npm run lint

lint-fix:
npm run lint:fix
cd vue/ && npm run lint:fix

npm-init: npm-init-root npm-init-vue

npm-init-root:
npm-init:
npm install

npm-init-vue:
cd vue/ && npm install

npm-update:
npm update
cd vue/ && npm update

clean:
rm -f js/admin/*.js
rm -f js/admin/*.js.map
rm -f js/collections.js
rm -f js/collections.js.map
rm -f js/collectionsintegration.js
rm -f js/collectionsintegration.js.map
rm -f js/*
rm -rf $(build_dir)

clean-dev: clean
rm -rf node_modules
cd vue/ && rm -rf node_modules

compile-handlebars-templates:
bash compile-handlebars-templates.sh

bundle-simplewebrtc:
# webrtc-adapter uses JavaScript features not supported by browserify,
Expand All @@ -87,8 +67,6 @@ appstore:
--exclude=bower.json \
--exclude=.bowerrc \
--exclude=/build \
--exclude=check-handlebars-templates.sh \
--exclude=compile-handlebars-templates.sh \
--exclude=docs \
--exclude=.drone.yml \
--exclude=.eslintignore \
Expand All @@ -99,7 +77,6 @@ appstore:
--exclude=.gitignore \
--exclude=.jscsrc \
--exclude=.jshintignore \
--exclude=js/views/templates \
--exclude=js/**.js.map \
--include=js/simplewebrtc/bundled.js \
--exclude=js/simplewebrtc/*.js \
Expand All @@ -114,11 +91,11 @@ appstore:
--exclude=README.md \
--exclude=run-*lint.sh \
--exclude=.scrutinizer.yml \
--exclude=src \
--exclude=.stylelintrc \
--exclude=tests \
--exclude=.travis.yml \
--exclude=.tx \
--exclude=vue \
$(project_dir)/ $(sign_dir)/$(app_name)
@if [ -f $(cert_dir)/$(app_name).key ]; then \
echo "Signing app files…"; \
Expand Down
9 changes: 0 additions & 9 deletions check-handlebars-templates.sh

This file was deleted.

2 changes: 0 additions & 2 deletions check-vuejs-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ git status
bash -c "[[ ! \"`git status --porcelain js`\" ]] || ( echo 'Uncommitted changes in built Vue files' && exit 1 )"

bash -c "[[ ! \"`git status --porcelain package-lock.json`\" ]] || ( git diff package-lock.json && echo 'Uncommitted changes in package-lock.json' && exit 1 )"

bash -c "[[ ! \"`git status --porcelain vue/package-lock.json`\" ]] || ( git diff vue/package-lock.json && echo 'Uncommitted changes in vue/package-lock.json' && exit 1 )"
8 changes: 0 additions & 8 deletions compile-handlebars-templates.sh

This file was deleted.

Loading