Skip to content

Commit cae6c53

Browse files
committed
add upstream script etc
1 parent 2963573 commit cae6c53

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
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.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
"/rewatch-linux-arm64",
1717
"/rewatch-macos",
1818
"/rewatch-windows.exe"
19-
]
19+
],
20+
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
2021
}

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)