gulp/compiler flags dev,prod,authors

main
Robert 3 years ago
parent 173a65e606
commit 0167391dad
  1. 4
      README
  2. 6
      src/compiler.php

@ -28,7 +28,7 @@ sudo chgrp www-data HTMLPurifier/DefinitionCache/Serializer
### Manually Compile the framework!!!
```
cd /var/www/frames/tts_framework/src
php compiler.php
php -f compiler.php -- -dev
```
### Install JavaScript Lib:
@ -45,7 +45,7 @@ gulp
## So, gulp should just work if installed in the above steps.
```
cd /var/www/frames/tts_framework
gulp
gulp --dev
```
### Install sample project:

@ -37,19 +37,19 @@ foreach($argv as $arg) {
$print_new_line = false;
$skip_mocking_data_arrays = true;
$skip_extras_folder = true;
echo "Prod mode on";
echo "Prod mode: on. ";
}
if ($arg === "-dev" || $arg === "--dev") {
$debugging_AKA_non_production_mode = true;
$print_new_line = true;
$skip_mocking_data_arrays = false;
$skip_extras_folder = false;
echo "Dev mode on";
echo "Dev mode: on. ";
}
if ($arg === "-authors" || $arg === "--authors") {
$show_authors = false;
$show_filename_comments = false;
echo "Skipping Comments/Authors...";
echo "Skipping Comments/Authors... ";
}
}

Loading…
Cancel
Save