Skip to content

Commit 5142449

Browse files
committed
add upstream script etc
1 parent f49667b commit 5142449

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/target
22
.DS_Store
3+
/docs

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

sync_upstream.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
rm -rf testrepo/node_modules
4+
cp -rf . ../rescript/rewatch
5+
cd testrepo
6+
yarn install
7+
cd ..
8+
rm -rf ../rescript/rewatch/.git
9+
rm -rf ../rescript/rewatch/docs
10+
rm -rf ../rescript/rewatch/.github
11+
cd ../rescript/rewatch
12+
rm .tmuxinator.yaml
13+
rm package.json
14+
rm release.sh
15+
rm sync_upstream.sh
16+
# reset yarn.lock to the most recent commited version
17+
git checkout -- testrepo/yarn.lock
18+
cd testrepo
19+
yarn install

0 commit comments

Comments
 (0)