-
-
Notifications
You must be signed in to change notification settings - Fork 863
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
736 additions
and
6,376 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
language: node_js | ||
node_js: | ||
- 0.10 | ||
- 0.10 | ||
before_install: | ||
- npm install -g phantomjs | ||
env: | ||
global: | ||
- secure: OEN6oZ1RosVu13J7L+AIpxvNm5dMqCepFAzmiZCIzXKeix8dkWBj6G9myxygAezApaOrbQ+6w4nj4MLXaAi1c53twryt7tvtaEna3qBpU9apGsaWGchrW94If0kYYjKvsz0z9wcRbaiyJvj1kSXmF9jujoq6UmjsCT/fCKOIxn4= | ||
- secure: ZAbOA+A7yWRMCQAbyU7oEH0F1LWhwHFbR9DcorTbcRVMIdenUVSZd1Q4+qS04nNvoJ93WNWkR2mII+tcbsWnNxjzjPSyxW4xvFguiGx5gLe4P7iixzk+iPc/oLzbymgHXdg4ywXkH/wxx8qqG6bpvS42vBTAXfbKifOM/X5cxFY= |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# v1.0.0 / 2015-01-10 | ||
|
||
* Add `$t` method | ||
|
||
# v0.11.0 / 2014-11-07 | ||
|
||
* Bump to 0.11.0 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,48 @@ | ||
C8 = node_modules/.bin/component | ||
PONCHO = node_modules/.bin/poncho | ||
REPORTER = dot | ||
KARMA = ./node_modules/karma/bin/karma | ||
MOCHA = ./node_modules/mocha/bin/_mocha | ||
SRCS = ./index.js ./test/specs/*.js ./test/e2e/*.js | ||
|
||
|
||
build: check node_modules components index.js | ||
@$(C8) build --dev -o test | ||
dist: lint node_modules | ||
@./task/dist | ||
|
||
dist: check node_modules components index.js | ||
@$(C8) build --standalone vue-i18n -o dist -n vue-i18n | ||
minify: lint node_modules | ||
@./task/minify | ||
|
||
check: | ||
@node_modules/.bin/jshint --config .jshintrc --exclude-path .jshintignore \ | ||
index.js test/specs/index.js | ||
|
||
components: component.json | ||
@$(C8) install --dev | ||
lint: | ||
@node_modules/.bin/jshint --config .jshintrc --exclude-path .jshintignore $(SRCS) | ||
|
||
node_modules: package.json | ||
@npm install | ||
|
||
test: build | ||
@node_modules/.bin/mocha-phantomjs --reporter $(REPORTER) test/index.html | ||
test: lint node_modules | ||
@$(KARMA) start | ||
|
||
coverage: | ||
@VUE_I18N_TYPE=coverage $(MAKE) test | ||
|
||
coveralls: | ||
@VUE_I18N_TYPE=coveralls $(MAKE) test | ||
|
||
e2e: | ||
@$(MOCHA) -R dot ./test/e2e/translation.js | ||
|
||
sauce1: | ||
@VUE_I18N_TYPE=sauce SAUCE=batch1 $(MAKE) test | ||
|
||
sauce2: | ||
@VUE_I18N_TYPE=sauce SAUCE=batch2 $(MAKE) test | ||
|
||
sauce3: | ||
@VUE_I18N_TYPE=sauce SAUCE=batch3 $(MAKE) test | ||
|
||
test_cov: build | ||
@$(PONCHO) test/index.html | ||
sauce: sauce1 sauce2 sauce3 | ||
|
||
test_coveralls: build | ||
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID) | ||
@$(PONCHO) --reporter lcov test/index.html | node_modules/.bin/coveralls | ||
ci: coverage coveralls e2e sauce | ||
|
||
clean: | ||
@rm -rf test/build.js dist | ||
@rm -rf coverage | ||
@rm -rf dist | ||
|
||
|
||
.PHONY: test test_cov test_coveralls lib_cov clean | ||
.PHONY: dist lint test coverage node_modules clean |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ ] Template Strings format | ||
- [ ] Tynamic language changing |
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
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
Oops, something went wrong.