suppose cloned content is:
my-dir/a.janet
my-dir/b.janet
my-dir/my-subdir/c.janet
assuming trailing "/" means something is a directory...
| <html> | |
| <head> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/scittle.js" type="application/javascript"></script> | |
| <script crossorigin src="https://cdn.jsdelivr.net/npm/react@18/umd/react.production.min.js"></script> | |
| <script crossorigin src="https://cdn.jsdelivr.net/npm/react-dom@18/umd/react-dom.production.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/scittle.reagent.js" type="application/javascript"></script> | |
| <script type="application/x-scittle"> | |
| (require '[reagent.core :as r] | |
| '[reagent.dom :as rdom]) |
| <html> | |
| <head> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/scittle.js" type="application/javascript"></script> | |
| <script type="application/x-scittle"> | |
| (defn my-alert [] | |
| (js/alert "You clicked!")) | |
| ;; export function to use from JavaScript: | |
| (set! (.-my_alert js/window) my-alert) | |
| </script> | |
| </head> |
suppose cloned content is:
my-dir/a.janet
my-dir/b.janet
my-dir/my-subdir/c.janet
assuming trailing "/" means something is a directory...
| (import ./location :as l) | |
| (import ./zipper :as j) | |
| (import ./loc-jipper :as j) | |
| (comment | |
| (def info-jdn-src | |
| ``` | |
| {:name "jeep" | |
| :version "DEVEL" |
| (import ./location :as l) | |
| (import ./zipper :as j) | |
| (import ./loc-jipper :as j) | |
| (comment | |
| (def info-jdn-src | |
| ``` | |
| {:name "jeep" | |
| :version "DEVEL" |
| (import ./location :as l) | |
| (import ./zipper :as j) | |
| (import ./loc-jipper :as j) | |
| (comment | |
| (def info-jdn-src | |
| ``` | |
| {:name "jeep" | |
| :version "DEVEL" |
| (import ./location :as l) | |
| (import ./zipper :as j) | |
| (import ./loc-jipper :as j) | |
| (comment | |
| (def info-jdn-src | |
| ``` | |
| {:name "jeep" | |
| :version "DEVEL" |
| {# ... | |
| # most verbose / "lowest-level" form | |
| :vendored | |
| {{:name "some-bundle-bits" | |
| :url "https://github.com/sogaiu/some-bundle-bits" | |
| :tag "4107fac44205f99a2e8eafddb26ef6126800d02e"} | |
| [["mypath.janet" "bundle/mypath.janet"] | |
| ["support.janet" "bundle/support.janet"]] | |
| # |
| # suppose subrepo is my-subrepo | |
| git subrepo clean my-subrepo | |
| rm -rf my-subrepo # removes my-subrepo/.subrepo too | |
| git commit | |
| git subrepo status # verify no traces | |
| # adapted bits from https://github.com/ingydotnet/git-subrepo/issues/239 |