-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added gulpfile and preliminary build instructions
- Loading branch information
1 parent
c41e36f
commit aa1e395
Showing
8 changed files
with
78 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# [Clavi](http://github.com/krushndayshmookh/clavi) | ||
### clavi-auto - automated build repository | ||
HIGHLY EXPERIMENTAL | ||
HIGHLY EXPERIMENTAL | ||
|
||
### Instructions | ||
You need to have ~~nodejs~~, ~~npm~~ and ~~git~~ installed. | ||
|
||
~~~shell | ||
# clone the repo: | ||
git clone https://github.com/krushndayshmookh/clavi-auto.git | ||
|
||
# install dependencies: | ||
npm install | ||
|
||
# compile html files: | ||
npm run-script buildhtml | ||
~~~ |
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 @@ | ||
<!DOCTYPE html><html><head><title>Hello</title></head><body><p>Hello World!</p></body></html> |
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 @@ | ||
<!DOCTYPE html><html><head><title>Hello</title></head><body><p>Hello World!</p></body></html> |
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,13 @@ | ||
var gulp = require('gulp'); | ||
var pug = require('gulp-pug'); | ||
|
||
|
||
|
||
gulp.task('buildhtml', function () { | ||
return gulp.src('src/**/*.pug') | ||
.pipe(pug()) | ||
.pipe(gulp.dest('build/www')) | ||
}); | ||
|
||
|
||
gulp.task('default', ['buildhtml']); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,28 +1,32 @@ | ||
{ | ||
"name": "clavi", | ||
"version": "0.1.0", | ||
"description": "Your college on your palm.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/krushndayshmookh/clavi-auto.git" | ||
}, | ||
"keywords": [ | ||
"clavi" | ||
], | ||
"author": "Krushn Dayshmookh", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/krushndayshmookh/clavi-auto/issues" | ||
}, | ||
"homepage": "https://github.com/krushndayshmookh/clavi-auto#readme", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"bower": "^1.8.0", | ||
"gulp": "^3.9.1", | ||
"pug": "^2.0.0-rc.2" | ||
} | ||
"name": "clavi", | ||
"version": "0.1.0", | ||
"description": "Your college on your palm.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "test", | ||
"buildhtml": "gulp buildhtml", | ||
"build": "true", | ||
"postinstall": "bower install" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/krushndayshmookh/clavi-auto.git" | ||
}, | ||
"keywords": [ | ||
"clavi" | ||
], | ||
"author": "Krushn Dayshmookh", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/krushndayshmookh/clavi-auto/issues" | ||
}, | ||
"homepage": "https://github.com/krushndayshmookh/clavi-auto#readme", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"bower": "^1.8.0", | ||
"gulp": "^3.9.1", | ||
"gulp-pug": "^3.3.0", | ||
"pug": "^2.0.0-rc.2" | ||
} | ||
} |
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,6 @@ | ||
doctype html | ||
html | ||
head | ||
title Hello | ||
body | ||
p Hello World! |
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,6 @@ | ||
doctype html | ||
html | ||
head | ||
title Hello | ||
body | ||
p Hello World! |