Skip to content

Instantly share code, notes, and snippets.

@piotrkochan
piotrkochan / Makefile
Last active August 21, 2019 19:37
Simple Makefile which builds Symfony 4 App and make it easier to deploy via FTP or similar method.
DIST = dist
clean:
rm -rf $(DIST)/
mkdir $(DIST)/
copy:
cp -r assets bin config src templates tests translations $(DIST)/
cp composer.json composer.lock package.json symfony.lock yarn.lock $(DIST)/
cp webpack.config.js $(DIST)/