Commit fdc011ac authored by Romain Courteaud's avatar Romain Courteaud

Allow to build without linting

parent 18509eef
...@@ -30,7 +30,7 @@ VERSION = 3.32.1 ...@@ -30,7 +30,7 @@ VERSION = 3.32.1
JIOVERSION = ${DISTDIR}/jio-v${VERSION}.js JIOVERSION = ${DISTDIR}/jio-v${VERSION}.js
JIOLATEST = ${DISTDIR}/jio-latest.js JIOLATEST = ${DISTDIR}/jio-latest.js
all: fetch checktest build all: fetch lint build
############################################# #############################################
# Lint # Lint
...@@ -80,10 +80,15 @@ ${LINTDIR}/${EXAMPLEDIR}/%.js: ${EXAMPLEDIR}/%.js ...@@ -80,10 +80,15 @@ ${LINTDIR}/${EXAMPLEDIR}/%.js: ${EXAMPLEDIR}/%.js
############################################# #############################################
# Check test files # Check test files
############################################# #############################################
checktest: $(patsubst ${TESTDIR}/jio.storage/%.js, ${LINTDIR}/${TESTDIR}/jio.storage/%.js, $(wildcard ${TESTDIR}/jio.storage/*.js)) \ lint: $(patsubst ${TESTDIR}/jio.storage/%.js, ${LINTDIR}/${TESTDIR}/jio.storage/%.js, $(wildcard ${TESTDIR}/jio.storage/*.js)) \
$(patsubst ${TESTDIR}/queries/%.js, ${LINTDIR}/${TESTDIR}/queries/%.js, $(wildcard ${TESTDIR}/queries/*.js)) \ $(patsubst ${TESTDIR}/queries/%.js, ${LINTDIR}/${TESTDIR}/queries/%.js, $(wildcard ${TESTDIR}/queries/*.js)) \
$(patsubst ${TESTDIR}/jio/%.js, ${LINTDIR}/${TESTDIR}/jio/%.js, $(wildcard ${TESTDIR}/jio/*.js)) \ $(patsubst ${TESTDIR}/jio/%.js, ${LINTDIR}/${TESTDIR}/jio/%.js, $(wildcard ${TESTDIR}/jio/*.js)) \
$(patsubst ${EXAMPLEDIR}/%.js, ${LINTDIR}/${EXAMPLEDIR}/%.js, $(wildcard ${EXAMPLEDIR}/*.js)) $(patsubst ${EXAMPLEDIR}/%.js, ${LINTDIR}/${EXAMPLEDIR}/%.js, $(wildcard ${EXAMPLEDIR}/*.js)) \
$(patsubst ${EXAMPLEDIR}/%.js, ${LINTDIR}/${EXAMPLEDIR}/%.js, $(wildcard ${EXAMPLEDIR}/*.js)) \
${LINTDIR}/queries/query.js \
${LINTDIR}/jio.date/jiodate.js \
${LINTDIR}/jio.js \
$(patsubst ${SRCDIR}/jio.storage/%.js, ${LINTDIR}/jio.storage/%.js, $(wildcard ${SRCDIR}/jio.storage/*.js))
############################################# #############################################
# Build # Build
...@@ -102,31 +107,31 @@ ${JIOVERSION}: lib/uri/URI.js \ ...@@ -102,31 +107,31 @@ ${JIOVERSION}: lib/uri/URI.js \
${SRCDIR}/queries/parser-begin.js \ ${SRCDIR}/queries/parser-begin.js \
${SRCDIR}/queries/build/parser.js \ ${SRCDIR}/queries/build/parser.js \
${SRCDIR}/queries/parser-end.js \ ${SRCDIR}/queries/parser-end.js \
${LINTDIR}/queries/query.js \ ${SRCDIR}/queries/query.js \
${LINTDIR}/jio.date/jiodate.js \ ${SRCDIR}/jio.date/jiodate.js \
${LINTDIR}/jio.js \ ${SRCDIR}/jio.js \
${EXTERNALDIR}/rusha.js \ ${EXTERNALDIR}/rusha.js \
${LINTDIR}/jio.storage/replicatestorage.js \ ${SRCDIR}/jio.storage/replicatestorage.js \
${LINTDIR}/jio.storage/shastorage.js \ ${SRCDIR}/jio.storage/shastorage.js \
${LINTDIR}/jio.storage/uuidstorage.js \ ${SRCDIR}/jio.storage/uuidstorage.js \
${LINTDIR}/jio.storage/memorystorage.js \ ${SRCDIR}/jio.storage/memorystorage.js \
${LINTDIR}/jio.storage/zipstorage.js \ ${SRCDIR}/jio.storage/zipstorage.js \
${LINTDIR}/jio.storage/parserstorage.js \ ${SRCDIR}/jio.storage/parserstorage.js \
${LINTDIR}/jio.storage/httpstorage.js \ ${SRCDIR}/jio.storage/httpstorage.js \
${LINTDIR}/jio.storage/dropboxstorage.js \ ${SRCDIR}/jio.storage/dropboxstorage.js \
${LINTDIR}/jio.storage/davstorage.js \ ${SRCDIR}/jio.storage/davstorage.js \
${LINTDIR}/jio.storage/gdrivestorage.js \ ${SRCDIR}/jio.storage/gdrivestorage.js \
${LINTDIR}/jio.storage/unionstorage.js \ ${SRCDIR}/jio.storage/unionstorage.js \
${LINTDIR}/jio.storage/erp5storage.js \ ${SRCDIR}/jio.storage/erp5storage.js \
${LINTDIR}/jio.storage/querystorage.js \ ${SRCDIR}/jio.storage/querystorage.js \
${LINTDIR}/jio.storage/drivetojiomapping.js \ ${SRCDIR}/jio.storage/drivetojiomapping.js \
${LINTDIR}/jio.storage/documentstorage.js \ ${SRCDIR}/jio.storage/documentstorage.js \
${LINTDIR}/jio.storage/localstorage.js \ ${SRCDIR}/jio.storage/localstorage.js \
${LINTDIR}/jio.storage/indexeddbstorage.js \ ${SRCDIR}/jio.storage/indexeddbstorage.js \
${LINTDIR}/jio.storage/cryptstorage.js \ ${SRCDIR}/jio.storage/cryptstorage.js \
${LINTDIR}/jio.storage/websqlstorage.js \ ${SRCDIR}/jio.storage/websqlstorage.js \
${LINTDIR}/jio.storage/fbstorage.js \ ${SRCDIR}/jio.storage/fbstorage.js \
${LINTDIR}/jio.storage/cloudooostorage.js ${SRCDIR}/jio.storage/cloudooostorage.js
@echo concat @echo concat
@mkdir -p $(@D) @mkdir -p $(@D)
cat $^ > $@ cat $^ > $@
......
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