Skip to content

Commit

Permalink
Merge pull request #54 from vim-php/feature/build-flow
Browse files Browse the repository at this point in the history
Define new build flow.
  • Loading branch information
Gianluca Arbezzano committed May 15, 2015
2 parents abc8c4c + 468d730 commit 050dee8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,4 +1,3 @@
.test_fs
build/
vendor/
./phpctags
9 changes: 1 addition & 8 deletions Makefile
Expand Up @@ -6,12 +6,11 @@ source := README.md \
PHPCtags.class.php

.PHONY: all
all: phpctags
all: build/phpctags.phar

.PHONY: clean
clean:
@echo "Cleaning executables ..."
@rm -f ./phpctags
@rm -f ./build/phpctags.phar
@echo "Done!"

Expand All @@ -20,7 +19,6 @@ dist-clean:
@echo "Cleaning old build files and vendor libraries ..."
@rm -rf ./build
@rm -rf ./vendor
@rm -f ./phpctags
@echo "Done!"

.PHONY: install
Expand All @@ -45,8 +43,3 @@ vendor: composer.lock build/composer.phar
build/phpctags.phar: vendor $(source) | build
@php -dphar.readonly=0 buildPHAR.php
@chmod +x build/phpctags.phar

phpctags: build/phpctags.phar
@echo "Building phpctags ..."
@cp build/phpctags.phar phpctags
@echo "Done!"
2 changes: 0 additions & 2 deletions buildPHAR.php
Expand Up @@ -35,8 +35,6 @@ function ($current) {
'tests/*',
'Makefile',
'bin/phpctags',
'phpctags',
'phpctags.sh',
'buildPHAR.php',
);

Expand Down

0 comments on commit 050dee8

Please sign in to comment.