Commit c810b3f9 authored by Romain Courteaud's avatar Romain Courteaud

Make: reduce verbosity

parent fdc011ac
...@@ -35,47 +35,47 @@ all: fetch lint build ...@@ -35,47 +35,47 @@ all: fetch lint build
############################################# #############################################
# Lint # Lint
############################################# #############################################
LINTOPTS = --maxlen 80 --indent 2 --maxerr 3 LINTOPTS = --maxlen 80 --indent 2 --maxerr 3 --terse
${LINTDIR}/jio.storage/%.js: ${SRCDIR}/jio.storage/%.js ${LINTDIR}/jio.storage/%.js: ${SRCDIR}/jio.storage/%.js
@mkdir -p $(@D) @mkdir -p $(@D)
${JSLINT} ${LINTOPTS} --predef jIO --predef window $< ${JSLINT} ${LINTOPTS} --predef jIO --predef window $<
cat $< > $@ @cat $< > $@
${LINTDIR}/jio.js: ${SRCDIR}/jio.js ${LINTDIR}/jio.js: ${SRCDIR}/jio.js
@mkdir -p $(@D) @mkdir -p $(@D)
${JSLINT} ${LINTOPTS} --nomen true $< ${JSLINT} ${LINTOPTS} --nomen true $<
cat $< > $@ @cat $< > $@
${LINTDIR}/jio.date/%.js: ${SRCDIR}/jio.date/%.js ${LINTDIR}/jio.date/%.js: ${SRCDIR}/jio.date/%.js
@mkdir -p $(@D) @mkdir -p $(@D)
${JSLINT} ${LINTOPTS} $< ${JSLINT} ${LINTOPTS} $<
cat $< > $@ @cat $< > $@
${LINTDIR}/queries/query.js: ${SRCDIR}/queries/query.js ${LINTDIR}/queries/query.js: ${SRCDIR}/queries/query.js
@mkdir -p $(@D) @mkdir -p $(@D)
${JSLINT} ${LINTOPTS} $< ${JSLINT} ${LINTOPTS} $<
cat $< > $@ @cat $< > $@
${LINTDIR}/${TESTDIR}/jio.storage/%.js: ${TESTDIR}/jio.storage/%.js ${LINTDIR}/${TESTDIR}/jio.storage/%.js: ${TESTDIR}/jio.storage/%.js
@mkdir -p $(@D) @mkdir -p $(@D)
${JSLINT} ${LINTOPTS} --predef QUnit --predef RSVP --predef jIO $< ${JSLINT} ${LINTOPTS} --predef QUnit --predef RSVP --predef jIO $<
cat $< > $@ @cat $< > $@
${LINTDIR}/${TESTDIR}/queries/%.js: ${TESTDIR}/queries/%.js ${LINTDIR}/${TESTDIR}/queries/%.js: ${TESTDIR}/queries/%.js
@mkdir -p $(@D) @mkdir -p $(@D)
${JSLINT} ${LINTOPTS} --predef QUnit --predef RSVP --predef jIO $< ${JSLINT} ${LINTOPTS} --predef QUnit --predef RSVP --predef jIO $<
cat $< > $@ @cat $< > $@
${LINTDIR}/${TESTDIR}/jio/%.js: ${TESTDIR}/jio/%.js ${LINTDIR}/${TESTDIR}/jio/%.js: ${TESTDIR}/jio/%.js
@mkdir -p $(@D) @mkdir -p $(@D)
${JSLINT} ${LINTOPTS} --predef QUnit --predef RSVP --predef jIO $< ${JSLINT} ${LINTOPTS} --predef QUnit --predef RSVP --predef jIO $<
cat $< > $@ @cat $< > $@
${LINTDIR}/${EXAMPLEDIR}/%.js: ${EXAMPLEDIR}/%.js ${LINTDIR}/${EXAMPLEDIR}/%.js: ${EXAMPLEDIR}/%.js
@mkdir -p $(@D) @mkdir -p $(@D)
${JSLINT} ${LINTOPTS} --predef RSVP --predef window --predef QUnit --predef jIO --predef rJS $< ${JSLINT} ${LINTOPTS} --predef RSVP --predef window --predef QUnit --predef jIO --predef rJS $<
cat $< > $@ @cat $< > $@
############################################# #############################################
# Check test files # Check test files
...@@ -96,7 +96,6 @@ lint: $(patsubst ${TESTDIR}/jio.storage/%.js, ${LINTDIR}/${TESTDIR}/jio.storage/ ...@@ -96,7 +96,6 @@ lint: $(patsubst ${TESTDIR}/jio.storage/%.js, ${LINTDIR}/${TESTDIR}/jio.storage/
build: ${JIOLATEST} build: ${JIOLATEST}
${JIOLATEST}: ${JIOVERSION} ${JIOLATEST}: ${JIOVERSION}
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ cp $< $@
...@@ -132,7 +131,6 @@ ${JIOVERSION}: lib/uri/URI.js \ ...@@ -132,7 +131,6 @@ ${JIOVERSION}: lib/uri/URI.js \
${SRCDIR}/jio.storage/websqlstorage.js \ ${SRCDIR}/jio.storage/websqlstorage.js \
${SRCDIR}/jio.storage/fbstorage.js \ ${SRCDIR}/jio.storage/fbstorage.js \
${SRCDIR}/jio.storage/cloudooostorage.js ${SRCDIR}/jio.storage/cloudooostorage.js
@echo concat
@mkdir -p $(@D) @mkdir -p $(@D)
cat $^ > $@ cat $^ > $@
...@@ -140,7 +138,6 @@ ${JIOVERSION}: lib/uri/URI.js \ ...@@ -140,7 +138,6 @@ ${JIOVERSION}: lib/uri/URI.js \
# Jison # Jison
############################################# #############################################
${SRCDIR}/queries/build/parser.js: ${SRCDIR}/queries/core/parser.par ${SRCDIR}/queries/build/parser.js: ${SRCDIR}/queries/core/parser.par
@echo jison
@mkdir -p $(@D) @mkdir -p $(@D)
${JISON} -m js -o $@ $< ${JISON} -m js -o $@ $<
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment