Skip to content

Commit

Permalink
Rename dirs 1.2/ 1.3/ -> parser-1.2/ parser=1.3/
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Dec 29, 2021
1 parent d9d1884 commit 813b22b
Show file tree
Hide file tree
Showing 96 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ endif
ifeq (,$(BASE))
$(error BASE not defined)
endif
BASE12 := $(ROOT)/1.2
BASE12 := $(ROOT)/parser-1.2

LOCAL_MAKE := $(ROOT)/.git/local.mk
ifneq (,$(wildcard $(LOCAL_MAKE)))
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ SHELL := bash

ROOT := $(shell pwd)

CODE_1_3 := 1.3
CODE_1_2 := 1.2
PARSER_1_3 := parser-1.3
PARSER_1_2 := parser-1.2

ALL := \
$(CODE_1_3) \
$(CODE_1_2) \
$(PARSER_1_3) \
$(PARSER_1_2) \

ALL_TEST := $(ALL:%=test-%)
ALL_CLEAN := $(ALL:%=clean-%)
ALL_TEST := $(ALL:parser-%=test-%)
ALL_CLEAN := $(ALL:parser-%=clean-%)

default:
@echo $(ALL_TEST)
Expand All @@ -20,13 +20,13 @@ test: test-1.3
test-all: $(ALL_TEST)

$(ALL_TEST):
$(MAKE) -C $(@:test-%=%) test TRACE=$(TRACE) DEBUG=$(DEBUG)
$(MAKE) -C $(@:test-%=parser-%) test TRACE=$(TRACE) DEBUG=$(DEBUG)

clean: $(ALL_CLEAN)
rm -fr node_modules

$(ALL_CLEAN):
$(MAKE) -C $(@:clean-%=%) clean
$(MAKE) -C $(@:clean-%=parser-%) clean

node_modules:
git branch --track $@ origin/$@ 2>/dev/null || true
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ROOT := $(shell cd ../..; pwd)
BASE := $(ROOT)/1.2
BASE := $(ROOT)/parser-1.2
PARSER_LANG := coffeescript
BIN := coffee
GRAMMAR := lib/grammar.coffee
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 1.2/javascript/Makefile → parser-1.2/javascript/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ROOT := $(shell cd ../..; pwd)
BASE := $(ROOT)/1.2
BASE := $(ROOT)/parser-1.2
PARSER_LANG := javascript
BIN := node
GRAMMAR :=
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 1.2/perl/Makefile → parser-1.2/perl/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ROOT := $(shell cd ../..; pwd)
BASE := $(ROOT)/1.2
BASE := $(ROOT)/parser-1.2
PARSER_LANG := perl
BIN := perl
GRAMMAR := lib/Grammar.pm
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ROOT := $(shell cd ../..; pwd)
BASE := $(ROOT)/1.3
BASE := $(ROOT)/parser-1.3
PARSER_LANG := coffeescript
BIN := coffee
GRAMMAR :=
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 1.3/javascript/Makefile → parser-1.3/javascript/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ROOT := $(shell cd ../..; pwd)
BASE := $(ROOT)/1.3
BASE := $(ROOT)/parser-1.3
PARSER_LANG := javascript
BIN := node
GRAMMAR :=
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 813b22b

Please sign in to comment.