Subversion Repositories svn.Prod repos

Rev

Rev 39 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 39 Rev 40
1
SCRIPT=filefind.exs
1
SRC=filefind.exs
-
 
2
PRG=$(SRC)
-
 
3
DIR=/var/tmp
-
 
4
.PHONY: all test cleantest
2
 
5
 
-
 
6
all: test
-
 
7
 
-
 
8
# nog uitzoeken hoe je compilieert
-
 
9
# zonder execute
3
run:
10
build:
-
 
11
	elixirc $(SRC)
-
 
12
 
-
 
13
test:
4
	LC_ALL=en_US.UTF-8 elixir $(SCRIPT) blaa 
14
	#LC_ALL=en_US.UTF-8 elixir $(PRG) $(DIR)
-
 
15
	./$(PRG) $(DIR) > result
-
 
16
	sort result     > result.sort
-
 
17
	find $(DIR)     > result2
-
 
18
	sort result2    > result2.sort
-
 
19
	wc *.sort
-
 
20
	diff *.sort
-
 
21
 
-
 
22
clean:
-
 
23
	rm -f *.beam
-
 
24
 
-
 
25
cleantest:
-
 
26
	rm -f result	result.sort
-
 
27
	rm -f result2	result2.sort