Skip to content

Commit cbfb2bf

Browse files
committed
Renamed example 'Ape' to 'Hello'
1 parent 73b2b65 commit cbfb2bf

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

Makefile

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ NODE=nodejs
22
NPM=npm
33
CLANGFORMAT=clang-format-3.5 -style=Mozilla
44

5-
PROJECT=./examples/APE.idl
6-
OUTPUT_DIR=./output/APE/
7-
TEMPLATE_DIR=./templates/
8-
TEMPLATES=$(shell find $(TEMPLATE_DIR) -type f)
5+
PROJECT=./examples/Hello.idl
6+
OUTPUT_DIR=./output/Hello
7+
TEMPLATE_DIR=./templates
98

10-
TARGET=$(OUTPUT_DIR)/base_IDLTest.h
9+
TEMPLATES=$(shell find $(TEMPLATE_DIR) -type f)
10+
TARGET=$(OUTPUT_DIR)/base_Hello.h
1111

1212
all: $(TARGET)
1313

@@ -18,11 +18,11 @@ $(TARGET): parse.js $(PROJECT) $(TEMPLATES)
1818
@echo "creating"
1919
@$(NODE) parse.js $(PROJECT) $(TEMPLATE_DIR) $(OUTPUT_DIR)
2020
@echo "formatting"
21-
@$(CLANGFORMAT) -i $(shell find $(OUTPUT_DIR) -type f )
21+
@$(CLANGFORMAT) -i $(OUTPUT_DIR)/*
2222

2323

2424
.PHONY: clean
2525

2626
clean:
2727
@echo "cleaning"
28-
@rm -rf $(shell find $(OUTPUT_DIR) -type f -a \( -name '*.c' -o -name '*.cpp' -o -name '*.h' \))
28+
@rm -rf $(shell find $(OUTPUT_DIR)/ -type f)

examples/Hello.idl

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
[
88
Constructor(cstring ip, unsigned short port),
9-
className=IDLTest
10-
] interface IDLTest
9+
className=Hello
10+
] interface Hello
1111
{
1212
attribute EventHandler onclient;
1313
boolean foobar(optional long x, optional long last = "foo");

output/APE/.gitignore

-1
This file was deleted.

0 commit comments

Comments
 (0)