This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @Given I attach the file :path | |
* @param string $path | |
*/ | |
public function iAttachTheFile(string $path) | |
{ | |
// Get absolute local path | |
$localFile = '/var/www/html/' . $path; | |
// Convert to zip file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "some-project", | |
"version": "1.0.0", | |
"description": "Some Project", | |
"main": "index.js", | |
"scripts": { | |
"build-task:scss-compile": "node-sass --source-map true app/Resources/scss/app.scss -o web/css", | |
"build-task:css-minify": "postcss web/css/app.css --use cssnano autoprefixer -d web/css", | |
"build-task:assets": "cp -R app/Resources/assets/ web/assets/", | |
"build-task:jquery": "cp node_modules/jquery/dist/jquery.min.js web/js/", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mysql:5.7.16 | |
RUN apt-get update \ | |
&& apt install -y netcat \ | |
&& apt-get clean && apt-get purge \ | |
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* |