mirror of
https://github.com/filiprojek/nork.git
synced 2024-11-02 10:02:28 +01:00
Delete install.js
This commit is contained in:
parent
21bf17ed3f
commit
843fe0dd36
18
install.js
18
install.js
@ -1,18 +0,0 @@
|
||||
#!/usr/bin/node
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
|
||||
/**
|
||||
* This will only works if the project folder is in the parent folder
|
||||
* This is not global fs solution!
|
||||
*/
|
||||
|
||||
fs.copyFile('./framework/artisan.js', './artisan.js', err => {
|
||||
if (err) {
|
||||
console.log(err)
|
||||
console.log(path.resolve(path.dirname('')))
|
||||
}
|
||||
if (!err) {
|
||||
console.log('\x1b[32m%s\x1b[0m', 'Framework installed successfully!')
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue
Block a user