forked from r-three/common-pile
-
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.
- Loading branch information
Showing
4 changed files
with
8 additions
and
65 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
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
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,24 +1,5 @@ | ||
#!/bin/bash | ||
|
||
# Download HF Dataset repo | ||
git clone git@hf.co:datasets/baber/USPTO ./data/uspto/raw | ||
echo "HF Dataset repo cloned to ./data/uspto/raw." | ||
|
||
# Clone MathML to LaTeX converter | ||
echo "Cloning MathML to LaTeX converter..." | ||
git clone https://github.com/baberabb/mathml-to-latex.git | ||
|
||
# Navigate to the Node.js project directory | ||
echo "Navigating to mathml-to-latex directory..." | ||
cd mathml-to-latex || { echo "Failed to navigate to mathml-to-latex directory"; exit 1; } | ||
|
||
# Install Node.js dependencies | ||
npm install | ||
|
||
# Compile TypeScript to JavaScript | ||
npx tsc | ||
echo "TypeScript compilation completed." | ||
|
||
# Navigate back to the original directory | ||
cd .. | ||
echo "Setup complete." | ||
git clone git@hf.co:datasets/baber/USPTO /uspto/data | ||
echo "HF Dataset repo cloned to /uspto/data" |
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