Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
74
gaia/distros/spark/apps/customizer/components/js-beautify/Makefile
Executable file
74
gaia/distros/spark/apps/customizer/components/js-beautify/Makefile
Executable file
|
|
@ -0,0 +1,74 @@
|
|||
|
||||
define AVAILABLE_ACTIONS
|
||||
|
||||
build: do static checking and build of js
|
||||
buildp: do static checking and build of python
|
||||
buildj: do static checking and build of javascript
|
||||
test: test both implementations, js and python
|
||||
testp: test python implementation
|
||||
testj: test javascript implementation
|
||||
|
||||
endef
|
||||
export AVAILABLE_ACTIONS
|
||||
|
||||
|
||||
.SILENT:
|
||||
all: build test status
|
||||
|
||||
help:
|
||||
echo "$$AVAILABLE_ACTIONS"
|
||||
|
||||
build: buildj buildp
|
||||
|
||||
buildj:
|
||||
echo Building javascript... ;\
|
||||
npm install ;\
|
||||
|
||||
buildp:
|
||||
echo Building python... ;\
|
||||
pip install -e ./python
|
||||
|
||||
testp:
|
||||
echo Testing python implementation...
|
||||
node test/generate-tests.js || exit 1;\
|
||||
cd python ;\
|
||||
python --version ;\
|
||||
./jsbeautifier/tests/shell-smoke-test.sh
|
||||
|
||||
testj:
|
||||
echo Testing javascript implementation...
|
||||
node test/generate-tests.js || exit 1;\
|
||||
node --version; \
|
||||
npm test
|
||||
|
||||
|
||||
edit:
|
||||
vim \
|
||||
js/lib/beautify.js python/jsbeautifier/__init__.py \
|
||||
js/test/beautify-tests.js python/jsbeautifier/tests/testjsbeautifier.py
|
||||
|
||||
gedit:
|
||||
gvim \
|
||||
js/lib/beautify.js \
|
||||
js/test/beautify-tests.js \
|
||||
python/jsbeautifier/__init__.py \
|
||||
python/jsbeautifier/tests/testjsbeautifier.py &
|
||||
|
||||
tests: testj testp
|
||||
|
||||
test: testj testp
|
||||
|
||||
status:
|
||||
test/git-status-clear.sh || exit 1
|
||||
|
||||
|
||||
gh:
|
||||
git push origin master &&\
|
||||
cd gh-pages &&\
|
||||
git fetch &&\
|
||||
git checkout gh-pages &&\
|
||||
git reset --hard origin/gh-pages &&\
|
||||
git merge origin/master &&\
|
||||
git push origin gh-pages
|
||||
|
||||
.PHONY: testp testj all edit tests test
|
||||
Loading…
Reference in a new issue