Skip to content

Commit

Permalink
Use package.json for versioning and build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stasm committed Feb 16, 2017
1 parent db55bc1 commit f06fbf8
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
build
8 changes: 7 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
export SHELL := /bin/bash
export PATH := $(CURDIR)/node_modules/.bin:$(PATH)

build:
@mkdir -p build/syntax
@cp syntax/diagram.xhtml build/syntax
@gitbook build guide build/guide

deploy:
serve:
@serve build

deploy: build
@gh-pages -d build

clean:
Expand Down
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "fluent-spec",
"description": "Specification and documentation for Fluent",
"version": "0.2.0",
"private": true,
"homepage": "http://projectfluent.io",
"repository": {
"type": "git",
"url": "git+https://github.com/projectfluent/fluent.git"
},
"author": "Mozilla <l10n-drivers@mozilla.org>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/projectfluent/fluent/issues"
},
"devDependencies": {
"gh-pages": "^0.12.0",
"gitbook-cli": "^2.3.0",
"serve": "^3.3.1"
}
}
2 changes: 0 additions & 2 deletions syntax/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Fluent Syntax (FTL)

## Version 0.2.0

Specification, design and documentation for FTL, the syntax for describing
translation resources in Project Fluent. FTL stands for *Fluent Translation
List*.
Expand Down

0 comments on commit f06fbf8

Please sign in to comment.