add js to docs and build
This commit is contained in:
parent
4c8b94aa88
commit
5456584f85
2
build.sh
2
build.sh
|
@ -5,6 +5,8 @@ source build-config.cfg
|
||||||
#destination=~/devel/wordpress/wp-content/plugins/tainacan
|
#destination=~/devel/wordpress/wp-content/plugins/tainacan
|
||||||
|
|
||||||
sh compile-sass.sh
|
sh compile-sass.sh
|
||||||
|
npm run build
|
||||||
|
|
||||||
composer install
|
composer install
|
||||||
|
|
||||||
echo "Atualizando arquivos em $destination"
|
echo "Atualizando arquivos em $destination"
|
||||||
|
|
|
@ -23,9 +23,10 @@ You wil also need:
|
||||||
* `composer` to manage dependencies
|
* `composer` to manage dependencies
|
||||||
* `sass` to compile sass into css files
|
* `sass` to compile sass into css files
|
||||||
* `phpunit` to run tests
|
* `phpunit` to run tests
|
||||||
|
* `node` to work with Vue.js
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt-get install phpunit composer ruby
|
sudo apt-get install phpunit composer ruby nodejs npm
|
||||||
sudo gem install sass
|
sudo gem install sass
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -44,6 +45,7 @@ Install dependencies via composer
|
||||||
|
|
||||||
```
|
```
|
||||||
composer install
|
composer install
|
||||||
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
And that's pretty much all. Now you will want to set up your tests and your build.
|
And that's pretty much all. Now you will want to set up your tests and your build.
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue