(Feature) Build System: Use npm scripts for the build process (#16)

* (Chore) Editorconfig: Add an editorconfig file so those spaces and tabs dont keep mixing

* (Refactor) Build: use npm scripts to build assets

* (Chore) Build: remove dist files from repo / fix ESLint errors

* (Update) Build: Remove unused tasks / add autoprefixer

* (Chore) Gemfile: remove old dependencies

* (Chore) Package.json: Shrinkwrap & postinstalll

* (Doc) Build: Update instructions for new build system

* (Fix) Build: Wach html files in all folders

* (Fix) Build: exclude _site/ from watch

* (Chore) Build/CI: Update buildscript for node/ruby combined

* (Chore) Travis: Add g++ compiler to environment

* (Chore) Build: fix watched directory

* (Fix) travis: set version to 4.5.0 LTS

* (Fix) travis: remove shrinkwrap

* (Fix) Travis: rvm

* (Fix) Travis: before_install

* (Fix) Travis: ignore dist for html proofer
This commit is contained in:
0xfff 2016-09-17 02:14:13 +02:00 committed by GitHub
parent 0cd655f34b
commit 2b0331ad48
145 changed files with 408 additions and 416 deletions

View file

@ -1,19 +1,26 @@
language: ruby
rvm:
- 2.3.1
language: node_js
node_js:
- 4.5.0
before_script:
- chmod +x ./script/cibuild
script: "./script/cibuild"
- chmod +x ./cibuild.sh
script: "./cibuild.sh"
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- CXX=g++-4.8
sudo: false
addons:
addons:
ssh_known_hosts: $hostname
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- openssl aes-256-cbc -K $encrypted_4395499fa958_key -iv $encrypted_4395499fa958_iv
-in dash.org-test-web.pem.enc -out dash.org-test-web.pem -d
before_deploy:
- rvm install 2.3.1
before_deploy:
- eval "$(ssh-agent -s)"
- chmod 600 $TRAVIS_BUILD_DIR/$IdentityFile
- ssh-add $TRAVIS_BUILD_DIR/$IdentityFile
@ -21,5 +28,5 @@ deploy:
provider: script
skip_cleanup: true
script: rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/_dist $user@$hostname:$production_path
on:
on:
branch: master