This repository was archived by the owner on Jan 26, 2022. It is now read-only.
File tree 4 files changed +20
-5
lines changed
4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change
1
+ node_modules
2
+ index.html
3
+ package-lock.json
Original file line number Diff line number Diff line change 4
4
"description" : " " ,
5
5
"main" : " ecmarkup.js" ,
6
6
"dependencies" : {
7
- "ecmarkup" : " ^3.0.1 "
7
+ "ecmarkup" : " ^3.11.5 "
8
8
},
9
9
"devDependencies" : {},
10
10
"scripts" : {
11
11
"test" : " echo \" Error: no test specified\" && exit 1" ,
12
- "update-pages" : " node node_modules/ecmarkup/bin/ecmarkup.js index.html _index.html --css _ecmarkup.css --js _ecmarkup.js --verbose && git checkout gh-pages && rm -f index.html ecmarkup.css ecmarkup.js && mv _index.html index.html && mv _ecmarkup.css ecmarkup.css && mv _ecmarkup.js ecmarkup.js && git add index.html ecmarkup.js ecmarkup.css && git commit -m \" update pages\" && git checkout master"
12
+ "build" : " ecmarkup proposal.html index.html --verbose --toc" ,
13
+ "update-pages" : " ./publi.sh"
13
14
},
14
15
"author" : " Brian Terlson" ,
15
- "license" : " BSD-2-Clause"
16
+ "license" : " BSD-2-Clause" ,
17
+ "private" : true
16
18
}
Original file line number Diff line number Diff line change 4
4
stage : 0
5
5
contributors : Brian Terlson
6
6
</pre >
7
- <script src =" ecmarkup.js" ></script >
8
- <link rel =stylesheet href =" ecmarkup.css" >
9
7
10
8
<emu-intro id =" intro" >
11
9
<h1 >Introduction</h1 >
Original file line number Diff line number Diff line change
1
+ CURRENT_BRANCH=$( git rev-parse --abbrev-ref HEAD)
2
+ TEMP_BRANCH=$( date +%s.%N | md5sum | cut -d ' ' -f 1)
3
+ set -x
4
+ git checkout --orphan " $TEMP_BRANCH "
5
+ npm install
6
+ npm run build
7
+ git reset .
8
+ git add -f index.html
9
+ git commit -m gh-pages
10
+ git push -f origin HEAD:gh-pages
11
+ git checkout -f " $CURRENT_BRANCH "
12
+ git branch -D " $TEMP_BRANCH "
You can’t perform that action at this time.
0 commit comments