Skip to content

Commit

Permalink
Remove outdated makefile items
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalaytekin committed Nov 6, 2023
1 parent b4f6468 commit 6eb3db4
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions Makefile.node
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
#
# Node.js Makefile
# ================
#
# Do not update this file manually – it's maintained separately on GitHub:
# https://github.com/rowanmanning/makefiles/blob/master/Makefile.node
#
# To update to the latest version, run `make update-makefile`.
#


# Meta tasks
# ----------

Expand Down Expand Up @@ -57,29 +46,12 @@ node_modules: package.json
# Verify tasks
# ------------

verify: verify-javascript verify-dust verify-spaces
@$(TASK_DONE)

verify-javascript: verify-eslint verify-jshint verify-jscs
verify: verify-eslint
@$(TASK_DONE)

verify-dust:
@if [ -e .dustmiterc* ]; then dustmite --path ./view && $(TASK_DONE); fi

verify-eslint:
@if [ -e .eslintrc* ]; then eslint . && $(TASK_DONE); fi

verify-jshint:
@if [ -e .jshintrc* ]; then jshint . && $(TASK_DONE); fi

verify-jscs:
@if [ -e .jscsrc* ]; then jscs . && $(TASK_DONE); fi

verify-spaces:
@if [ -e .editorconfig* ] && [ -x $(NPM_BIN)/lintspaces ]; then \
git ls-files | xargs lintspaces -e .editorconfig && $(TASK_DONE); \
fi

verify-coverage:
@if [ -d coverage ]; then \
if [ -x $(NPM_BIN)/nyc ]; then \
Expand Down Expand Up @@ -115,11 +87,3 @@ test-unit-coverage:

test-integration:
@if [ -d test/integration ]; then mocha test/integration --exit --timeout $(INTEGRATION_TIMEOUT) --slow $(INTEGRATION_SLOW) && $(TASK_DONE); fi


# Tooling tasks
# -------------

update-makefile:
@curl -s https://raw.githubusercontent.com/rowanmanning/makefiles/master/Makefile.node > Makefile.node
@$(TASK_DONE)

0 comments on commit 6eb3db4

Please sign in to comment.